Skip to content

Commit

Permalink
ci: update permissions for job
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Dec 16, 2024
1 parent 0118b8f commit 98bb0a5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
should-run: ${{ steps.set_outputs.outputs.should-run }}
image-names: ${{ steps.set_outputs.outputs.image-names }}
should-release: ${{ steps.set_outputs.outputs.should-release }}

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -71,7 +70,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -99,7 +97,6 @@ jobs:
runs-on: ubuntu-latest
env:
MOON_TOOLCHAIN_FORCE_GLOBALS: true

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -128,7 +125,6 @@ jobs:
- build-transactional
if: needs.pre-workflow-checks.outputs.should-run == 'true'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -137,7 +133,6 @@ jobs:
command: cargo
- target: aarch64-unknown-linux-gnu
command: cross

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -203,7 +198,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
packages: write

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -262,7 +256,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MOON_TOOLCHAIN_FORCE_GLOBALS: true

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -289,7 +282,8 @@ jobs:
- build-docker
if: needs.pre-workflow-checks.outputs.should-release == 'true'
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 98bb0a5

Please sign in to comment.