Skip to content

Commit

Permalink
Merge pull request #13528 from achauphan/remove-pr-review-trigger
Browse files Browse the repository at this point in the history
Framework: Update workflows using AT2
  • Loading branch information
sebrowne authored Oct 16, 2024
2 parents 03b6be8 + 5a8f4ce commit 9f9bd5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/AT2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ on:
types:
- opened
- synchronize
pull_request_review:
types:
- submitted
branches:
- master
- develop
workflow_dispatch:

# Cancels any in progress 'workflows' associated with this PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# 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
# Jobs depend on the output of pre-checks to run.
# Cancels new workflows if prior runs were successful (same tree hash)
pre-checks:
runs-on: ubuntu-latest
# actions: write needed by skip-duplicate-actions
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ on:
types:
- opened
- synchronize
pull_request_review:
types:
- submitted
branches:
- master
- develop
workflow_dispatch:

# Cancels any in progress 'workflow' associated with this PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
gcc10-openmpi416:
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
runs-on: [self-hosted, gcc-10.3.0_openmpi-4.1.6]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
with:
access_token: ${{ github.token }}
- name: Clone Trilinos
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
Expand Down

0 comments on commit 9f9bd5d

Please sign in to comment.