Skip to content

Commit

Permalink
Github Actions: Fixing AT2 Permissions (trilinos#13515)
Browse files Browse the repository at this point in the history
Trying to make the OpenSSF scorecard happy

Signed-off-by: Chris Siefert <csiefer@sandia.gov>
  • Loading branch information
csiefer2 authored Oct 10, 2024
1 parent b2cb481 commit 156678d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/AT2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ on:
- develop
workflow_dispatch:

# actions: write needed by skip-duplicate-actions
permissions:
actions: write
# actions: write needed by skip-duplicate-actions (handled below as per OpenSSF scorecard)
permissions:
contents: read

jobs:
# Jobs depend on the output of pre-checks to run
pre-checks:
runs-on: ubuntu-latest
# actions: write needed by skip-duplicate-actions
permissions:
actions: write
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
Expand Down

0 comments on commit 156678d

Please sign in to comment.