Skip to content

Commit a2e0edd

Browse files
chore: add more automation for repo
1 parent bb2576b commit a2e0edd

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Closed Issue Message
2+
on:
3+
issues:
4+
types: [closed]
5+
jobs:
6+
auto_comment:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: aws-actions/closed-issue-message@v1
10+
with:
11+
# These inputs are both required
12+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
13+
message: |
14+
### ⚠️COMMENT VISIBILITY WARNING⚠️
15+
Comments on closed issues are hard for our team to see.
16+
If you need more assistance, please either tag a team member or open a new issue that references this one.
17+
If you wish to keep having a conversation with other community members under this issue feel free to do so.

.github/workflows/semantic-pr.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
name: Semantic PRs Failed
3+
4+
on:
5+
pull_request:
6+
check_suite:
7+
types: [completed]
8+
9+
jobs:
10+
failed-cc:
11+
name: Failed Conventional Commits
12+
if: >
13+
github.event.check_suite.app.name == 'Semantic Pull Request'
14+
&& github.event.check_suite.conclusion == 'failure'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: peter-evans/create-or-update-comment@v1
18+
with:
19+
issue-number: ${{ github.event.pull_request}}
20+
body: |
21+
Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org).
22+
Please adjust title before merge.
23+

0 commit comments

Comments
 (0)