Skip to content

Commit

Permalink
improve github CI definitions
Browse files Browse the repository at this point in the history
- skip CI on changes only to changelog/
- reduce permissions of GH token for PR comment
  • Loading branch information
WebFreak001 committed Sep 4, 2023
1 parent a639cec commit a7c0d24
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches:
- master
- stable
paths-ignore:
- 'changelog/**'
push:
branches:
- master
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
branches:
- master
- stable
paths-ignore:
- 'changelog/**'
push:
branches:
- master
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_info_intro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- master
- stable

permissions:
pull-requests: write

jobs:
intro_comment:
name: Make intro comment
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_info_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
types:
- completed

permissions:
pull-requests: write

jobs:
comment:
name: PR Info
Expand Down

0 comments on commit a7c0d24

Please sign in to comment.