Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/container-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
simplerisk-jammy:
name: 'Verify simplerisk/simplerisk image based on Ubuntu 22.04 (Jammy)'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create_new_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ "master" ]

permissions:
contents: write # git tag + git push --tags

jobs:
create-release:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/promote-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ env:

jobs:
promote:
environment: release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ env:

jobs:
publish:
environment: testing
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/push-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ name: Push images to DockerHub
on:
workflow_dispatch:

permissions:
contents: read

# On a job that uses a reusable workflow, it seems you cannot
# use env on a with block (https://github.com/actions/runner/issues/1189#issuecomment-1741672276)
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push-to-dockerhub_rw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:

jobs:
dockerhub:
environment: release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/push-to-gh-pkgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ name: Push images to GitHub Packages
on:
workflow_dispatch:

permissions:
contents: read
packages: write # callee push-to-gh-pkgs_rw pushes to ghcr.io
id-token: write # callee cosign-signs via sigstore/fulcio

# On a job that uses a reusable workflow, it seems you cannot
# use env on a with block (https://github.com/actions/runner/issues/1189#issuecomment-1741672276)
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
shellcheck:
name: ShellCheck
Expand Down