Skip to content

Commit eecf430

Browse files
authored
[#79]: Fixed workflows not triggering (#81)
* Added 'workflow_dispatch' to allow them to be triggered. - Github Workflows couldn't be triggered because they were missing the line 'workflow_dispatch' under 'on' Committer: AsherCuedo <asher.olorenshaw@cuedo.com.au> On branch 79-workflows-not-triggering Changes to be committed: modified: scan-code.yml modified: test-macos-latest.yml modified: test-ubuntu-latest.yml modified: test-windows-latest.yml * Revert "[#75]: Update changelog with note about change (#76)" This reverts commit e10f0e9 as the merged pull request was a mistake. * Minor syntax tweaks * Reverted a mistake that happened (accidentally removed a line from CHANGELOG.md) * Updated to GitHub actions v4 * Updated additional missing action dependencies to v4 * Updated scan-code to Github actions v4
1 parent e10f0e9 commit eecf430

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/scan-code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
22
push:
3+
workflow_dispatch:
34
schedule:
45
- cron: "0 ? * * 1"
56

@@ -10,7 +11,7 @@ jobs:
1011
runs-on: ubuntu-latest
1112

1213
steps:
13-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1415

1516
- name: 'Setup hlint'
1617
uses: rwe/actions-hlint-setup@v1

.github/workflows/test-macos-latest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
22
push:
3+
workflow_dispatch:
34
schedule:
45
- cron: "0 ? * * 1"
56

@@ -18,7 +19,7 @@ jobs:
1819
- latest
1920

2021
steps:
21-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2223

2324
- uses: haskell/actions/setup@v2
2425
with:
@@ -32,7 +33,7 @@ jobs:
3233
stack --skip-ghc-check test --flag github-webhooks:ci --haddock --no-haddock-deps
3334
stack sdist
3435
35-
- uses: actions/upload-artifact@v3
36+
- uses: actions/upload-artifact@v4
3637
with:
3738
name: github-webhooks-macos-${{ matrix.stack-yaml }}-${{ github.sha }}
3839
path: .stack-work/dist/

.github/workflows/test-ubuntu-latest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
22
push:
3+
workflow_dispatch:
34
schedule:
45
- cron: "0 ? * * 1"
56

@@ -37,7 +38,7 @@ jobs:
3738
stack-version: 1.9
3839

3940
steps:
40-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4142

4243
- uses: haskell/actions/setup@v2
4344
with:
@@ -51,7 +52,7 @@ jobs:
5152
stack --skip-ghc-check test --flag github-webhooks:ci --haddock --no-haddock-deps
5253
stack sdist
5354
54-
- uses: actions/upload-artifact@v3
55+
- uses: actions/upload-artifact@v4
5556
with:
5657
name: github-webhooks-ubuntu-${{ matrix.stack-yaml }}-${{ github.sha }}
5758
path: .stack-work/dist/

.github/workflows/test-windows-latest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
on:
22
push:
3+
workflow_dispatch:
34
schedule:
45
- cron: "0 ? * * 1"
56

@@ -18,7 +19,7 @@ jobs:
1819
- latest
1920

2021
steps:
21-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2223

2324
- uses: haskell/actions/setup@v2
2425
with:
@@ -32,7 +33,7 @@ jobs:
3233
stack --skip-ghc-check test --flag github-webhooks:ci --haddock --no-haddock-deps
3334
stack sdist
3435
35-
- uses: actions/upload-artifact@v3
36+
- uses: actions/upload-artifact@v4
3637
with:
3738
name: github-webhooks-windows-${{ matrix.stack-yaml }}-${{ github.sha }}
3839
path: .stack-work/dist/

0 commit comments

Comments
 (0)