Skip to content

Commit

Permalink
Merge pull request indexdata#102 from indexdata/DEVOPS-2662-update-ap…
Browse files Browse the repository at this point in the history
…i-workflows

DEVOPS-2662 Upgrade Actions for API workflows
  • Loading branch information
dcrossleyau authored Nov 17, 2023
2 parents 233b0f6 + 8c7e5a6 commit dc4bd7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/api-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
AWS_S3_ACCESS_KEY: ${{ secrets.INDEXDATA_S3_SECRET_ACCESS_KEY }}

on:
workflow_dispatch:
push:
branches: [ main, master ]
paths:
Expand All @@ -39,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.REF }}
submodules: recursive
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/api-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ env:
API_WARNINGS: false

on:
workflow_dispatch:
push:
paths:
- 'src/main/resources/openapi/**'
Expand All @@ -39,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Prepare folio-tools
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/api-schema-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
API_EXCLUDES: 'example'

on:
workflow_dispatch:
push:
paths:
- 'src/main/resources/openapi/**'
Expand All @@ -29,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Prepare folio-tools
Expand Down

0 comments on commit dc4bd7c

Please sign in to comment.