Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Move permissions to workflow level
Browse files Browse the repository at this point in the history
  • Loading branch information
twaslowski committed Jan 20, 2024
1 parent 0962ac5 commit c94a2cc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Docker Image CI

permissions:
contents: 'read'
id-token: 'write'

on:
push:
Expand All @@ -7,14 +11,9 @@ on:
branches: [ "main" ]

jobs:
permissions:
contents: 'read'
id-token: 'write'

build:
runs-on: ubuntu-latest
steps:

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit c94a2cc

Please sign in to comment.