Skip to content

Commit

Permalink
Merge pull request #130 from dcastil/other/add-release-comments
Browse files Browse the repository at this point in the history
Add comments to released PRs and their related issues
  • Loading branch information
dcastil authored Aug 13, 2022
2 parents 1236e8f + 44f3a19 commit 69dd04b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/comment-released-prs-and-issues.yml
Original file line number Diff line number Diff line change
@@ -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}.
3 changes: 1 addition & 2 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Draft Release

on:
push:
branches:
- main
branches: [main]
pull_request:
types: [opened, reopened, synchronize]

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: npm Publish dev

on:
push:
branches:
- main
branches: [main]

jobs:
publish:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Test

on:
push:
branches:
- '**'
branches: ['**']
pull_request:
branches:
- '**'
branches: ['**']

jobs:
test:
Expand Down

0 comments on commit 69dd04b

Please sign in to comment.