Skip to content

Commit

Permalink
Merge pull request #1 from smile-io/ALEX-144-explicitly-set-github-ac…
Browse files Browse the repository at this point in the history
…tions-permissions

Explicitly set permissions on Github Actions workflows.
  • Loading branch information
undergroundwebdesigns authored Aug 6, 2024
2 parents 6e06c63 + 3f11528 commit d3a1cd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ jobs:
hadolint:
name: runner / hadolint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out code
uses: actions/checkout@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
update-semver:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v1
- uses: haya14busa/action-update-semver@v1
Expand Down

0 comments on commit d3a1cd4

Please sign in to comment.