Skip to content

Commit 7998748

Browse files
⚙️ [Maintenance]: Align workflows across action repositories (#41)
This pull request makes minor updates to the GitHub Actions workflow for releases, focusing on improving clarity and keeping dependencies up to date. - Workflow clarity: * Added comments to the `permissions` section in `.github/workflows/Release.yml` to clarify why each permission is needed. * Renamed the checkout step from "Checkout Code" to "Checkout repo" for better readability. - Dependency updates: * Updated the `actions/checkout` action to a specific commit for version `v6.0.2`. * Updated the `PSModule/Release-GHRepository` action from version `v2.0.1` to `v2.0.2` for the release step.
1 parent 26f5302 commit 7998748

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/Release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,17 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
permissions:
24-
contents: write
25-
pull-requests: write
24+
contents: write # Required to create releases
25+
pull-requests: write # Required to create comments on the PRs
2626

2727
jobs:
2828
Release:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- name: Checkout Code
31+
- name: Checkout repo
3232
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
persist-credentials: false
3535

3636
- name: Release
37-
uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1
38-
with:
39-
IncrementalPrerelease: false
37+
uses: PSModule/Release-GHRepository@5a5165d66f485d1aad217ef34a190178b214fdcb # v2.0.2

0 commit comments

Comments
 (0)