Skip to content

Commit

Permalink
Merge pull request #57 from DNAstack/Do-not-fetch-when-committing-upd…
Browse files Browse the repository at this point in the history
…ated-wdl-ci-config-file-BIOS-550

Do not fetch when committing updated wdl ci config file
  • Loading branch information
hkeward authored Nov 19, 2024
2 parents bd47056 + fc2e376 commit 1a4d5e3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If any step of the action fails, the check will fail; however if some task tests
# GitHub action usage

```yaml
- uses: dnastack/[email protected].2
- uses: dnastack/[email protected].3
with:
# Configuration file where tests can be found
# Default: wdl-ci.config.json
Expand Down Expand Up @@ -87,11 +87,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: wdl-ci
uses: dnastack/[email protected].2
uses: dnastack/[email protected].3
with:
wallet-url: ${{ secrets.WALLET_URL }}
wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }}
Expand All @@ -113,13 +113,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: wdl-ci
uses: dnastack/[email protected].2
uses: dnastack/[email protected].3
with:
wallet-url: ${{ secrets.WALLET_URL }}
wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }}
Expand All @@ -143,13 +143,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: wdl-ci
uses: dnastack/[email protected].2
uses: dnastack/[email protected].3
with:
wallet-url: ${{ secrets.WALLET_URL }}
wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }}
Expand Down
11 changes: 6 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ runs:
echo "WDL_CI_CUSTOM_TEST_WDL_DIR"=${{ inputs.wdl-ci-custom-test-wdl-dir }} >> $GITHUB_ENV
fi
- name: lint
uses: docker://dnastack/wdl-ci:v2.0.2
uses: docker://dnastack/wdl-ci:v2.0.3
with:
args: lint ${{ inputs.suppress-lint-errors && '--suppress-lint-errors' || '' }}
- name: detect-changes
uses: docker://dnastack/wdl-ci:v2.0.2
uses: docker://dnastack/wdl-ci:v2.0.3
with:
args: detect-changes
- name: submit
uses: docker://dnastack/wdl-ci:v2.0.2
uses: docker://dnastack/wdl-ci:v2.0.3
with:
args: submit
- name: monitor
uses: docker://dnastack/wdl-ci:v2.0.2
uses: docker://dnastack/wdl-ci:v2.0.3
with:
args: monitor --update-digests
# If a test fails, still update task digests for any tests that succeeded
Expand All @@ -77,8 +77,9 @@ runs:
add: ${{ inputs.config-file }}
message: "update wdl-ci config file after successful tests"
default_author: github_actions
fetch: false
- name: cleanup
if: always()
uses: docker://dnastack/wdl-ci:v2.0.2
uses: docker://dnastack/wdl-ci:v2.0.3
with:
args: cleanup
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "wdl-testing-cli"
description = "DNAstack WDL testing CLI"
version = "2.0.2"
version = "2.0.3"
authors = [
{ name = "DNAstack", email = "[email protected]" }
]
Expand Down

0 comments on commit 1a4d5e3

Please sign in to comment.