Skip to content

Commit dc4bd7c

Browse files
authored
Merge pull request indexdata#102 from indexdata/DEVOPS-2662-update-api-workflows
DEVOPS-2662 Upgrade Actions for API workflows
2 parents 233b0f6 + 8c7e5a6 commit dc4bd7c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/api-doc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ env:
2828
AWS_S3_ACCESS_KEY: ${{ secrets.INDEXDATA_S3_SECRET_ACCESS_KEY }}
2929

3030
on:
31+
workflow_dispatch:
3132
push:
3233
branches: [ main, master ]
3334
paths:
@@ -39,7 +40,7 @@ jobs:
3940
runs-on: ubuntu-latest
4041
steps:
4142
- name: Checkout
42-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4344
with:
4445
ref: ${{ github.REF }}
4546
submodules: recursive

.github/workflows/api-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ env:
2727
API_WARNINGS: false
2828

2929
on:
30+
workflow_dispatch:
3031
push:
3132
paths:
3233
- 'src/main/resources/openapi/**'
@@ -39,7 +40,7 @@ jobs:
3940
runs-on: ubuntu-latest
4041
steps:
4142
- name: Checkout
42-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4344
with:
4445
submodules: recursive
4546
- name: Prepare folio-tools

.github/workflows/api-schema-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
API_EXCLUDES: 'example'
1818

1919
on:
20+
workflow_dispatch:
2021
push:
2122
paths:
2223
- 'src/main/resources/openapi/**'
@@ -29,7 +30,7 @@ jobs:
2930
runs-on: ubuntu-latest
3031
steps:
3132
- name: Checkout
32-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3334
with:
3435
submodules: recursive
3536
- name: Prepare folio-tools

0 commit comments

Comments
 (0)