Skip to content

Commit

Permalink
Merge pull request #121 from clhainf5/add_workflow_permissions
Browse files Browse the repository at this point in the history
add permissions to workflows
  • Loading branch information
clhain authored Feb 28, 2025
2 parents 7e25834 + 6863d09 commit 081b8b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ name: Pages-CI
jobs:
validate:
name: Validate HTML
permissions:
contents: read
strategy:
fail-fast: false
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
check-branch:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Check branch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
Pull-From_Gitlab:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
Expand Down

0 comments on commit 081b8b8

Please sign in to comment.