diff --git a/.github/workflows/comment-released-prs-and-issues.yml b/.github/workflows/comment-released-prs-and-issues.yml new file mode 100644 index 00000000..d5785cd1 --- /dev/null +++ b/.github/workflows/comment-released-prs-and-issues.yml @@ -0,0 +1,14 @@ +name: Comment released PRs and issues + +on: + release: + types: [published] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: apexskier/github-release-commenter@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + comment-template: This was addressed in release {release_link}. diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 2596cf0f..0e2db5ea 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -2,8 +2,7 @@ name: Draft Release on: push: - branches: - - main + branches: [main] pull_request: types: [opened, reopened, synchronize] diff --git a/.github/workflows/npm-publish-dev.yml b/.github/workflows/npm-publish-dev.yml index 4cb3dd82..28273ce6 100644 --- a/.github/workflows/npm-publish-dev.yml +++ b/.github/workflows/npm-publish-dev.yml @@ -2,8 +2,7 @@ name: npm Publish dev on: push: - branches: - - main + branches: [main] jobs: publish: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6bc458f..c200b658 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,11 +2,9 @@ name: Test on: push: - branches: - - '**' + branches: ['**'] pull_request: - branches: - - '**' + branches: ['**'] jobs: test: