Skip to content

Commit a462c85

Browse files
authored
Merge pull request #31 from DataDog/lloeki/declare-workflow-permissions
Declare workflow permissions
2 parents 677a9b5 + 36d4992 commit a462c85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-ruby.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ jobs:
206206
libc: centos
207207
arch: ["x86_64", "aarch64"]
208208
runs-on: ubuntu-latest
209+
permissions:
210+
packages: write
209211
name: Build (${{ matrix.engine }} ${{ matrix.version }} ${{ matrix.libc }})
210212
steps:
211213
- name: Set up Docker
@@ -228,6 +230,8 @@ jobs:
228230
echo "DOCKER_PLATFORMS=$(echo ${{ join(matrix.arch) }} | tr ',' '\n' | sed 's/^/linux\//' | paste -s -d, -)" >> $GITHUB_OUTPUT
229231
- name: Checkout
230232
uses: actions/checkout@v4
233+
with:
234+
persist-credentials: false
231235

232236
# First, build image for x86_64 as it will fail fast
233237
#

0 commit comments

Comments
 (0)