Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal permissions to some actions workflows #114

Merged
merged 1 commit into from
Jan 26, 2025
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
4 changes: 4 additions & 0 deletions .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:

concurrency: announce-a-release

permissions:
packages: read
contents: write

jobs:
announce:
name: Announcements
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/breakage-against-linux-ponyc-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
repository_dispatch:
types: [shared-docker-linux-builders-updated]

permissions:
packages: read

jobs:
libressl-3-vs-ponyc-latest:
name: LibreSSL 3.x with most recent ponyc latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/breakage-against-windows-ponyc-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
repository_dispatch:
types: [ponyc-windows-nightly-released]

permissions:
packages: read

jobs:
windows-vs-ponyc-latest:
name: Test against recent ponyc release on Windows
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true

permissions:
packages: read

jobs:
superlinter:
name: Lint bash, docker, markdown, and yaml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prepare-for-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:

concurrency: prepare-for-a-release

permissions:
packages: read
contents: write

jobs:
# all tasks that need to be done before we add an X.Y.Z tag
# should be done as a step in the pre-tagging job.
Expand Down
Loading