mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
try again
This commit is contained in:
12
.github/workflows/changelog-check.yml
vendored
12
.github/workflows/changelog-check.yml
vendored
@@ -7,6 +7,8 @@ on:
|
||||
jobs:
|
||||
check-changelog:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -33,8 +35,12 @@ jobs:
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const { owner, repo } = context.repo;
|
||||
const issue_number = context.issue.number;
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
...context.repo, // This spreads the owner and repo correctly
|
||||
issue_number: context.issue.number,
|
||||
owner,
|
||||
repo,
|
||||
issue_number,
|
||||
body: '⚠️ This PR is missing a changelog entry. Please add an entry to `docs/pages/resources/changelog.md` describing your changes.'
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user