Skip to content

Commit 2f62dd2

Browse files
authored
Merge pull request #814 from pq-code-package/revert-workflow-run
Revert using workflow_run
2 parents 4174800 + f3f28b6 commit 2f62dd2

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/cbmc.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ name: CBMC
44
permissions:
55
contents: read
66
on:
7+
workflow_call:
78
workflow_dispatch:
8-
workflow_run:
9-
workflows: [ "Base tests" ]
10-
types: [ completed ]
9+
push:
10+
branches: ["main"]
11+
pull_request:
12+
branches: ["main"]
13+
types: [ "opened", "synchronize" ]
1114

1215
concurrency:
13-
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
16+
group: ${{ github.workflow }}-${{ github.ref }}
1417
cancel-in-progress: true
1518

1619
jobs:

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ name: Extended tests
44
permissions:
55
contents: read
66
on:
7+
workflow_call:
78
workflow_dispatch:
8-
workflow_run:
9-
workflows: [ "Base tests" ]
10-
types: [ completed ]
9+
push:
10+
branches: ["main"]
11+
pull_request:
12+
branches: ["main"]
13+
types: [ "opened", "synchronize" ]
1114

1215
concurrency:
13-
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
16+
group: ${{ github.workflow }}-${{ github.ref }}
1417
cancel-in-progress: true
1518

1619
jobs:

0 commit comments

Comments
 (0)