Skip to content

Commit

Permalink
fixing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 10, 2024
1 parent b625ec9 commit 5347471
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ on:
type: string
default: "dbt-labs/dbt-athena"

permissions:
id-token: write
contents: read

jobs:
integration-tests:
runs-on: ubuntu-latest
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ on:
type: string
default: "dbt-labs/dbt-athena"

permissions:
contents: read

defaults:
run:
shell: bash

jobs:
unit-tests:
runs-on: ubuntu-latest
Expand All @@ -54,4 +47,5 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: pypa/hatch@install
- run: hatch run unit-tests
shell: bash
working-directory: ./${{ inputs.package }}

0 comments on commit 5347471

Please sign in to comment.