From 909defdccece992b365a3aaca9a00ec30118b831 Mon Sep 17 00:00:00 2001 From: Heather Ward Date: Tue, 19 Nov 2024 15:34:13 -0500 Subject: [PATCH 1/2] Do not fetch prior to committing updated config file This was causing issues with submodules losing refs, and is ultimately unnecessary. --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 5735ce2..9979d0c 100644 --- a/action.yml +++ b/action.yml @@ -77,6 +77,7 @@ 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 From fc2e3760fd8e54063a7e77f525982261df0880ab Mon Sep 17 00:00:00 2001 From: Heather Ward Date: Tue, 19 Nov 2024 15:35:58 -0500 Subject: [PATCH 2/2] Bump version; use v4 of the checkout action --- README.md | 14 +++++++------- action.yml | 10 +++++----- pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 62935cd..b0e3db6 100644 --- a/README.md +++ b/README.md @@ -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/wdl-ci@v2.0.2 +- uses: dnastack/wdl-ci@v2.0.3 with: # Configuration file where tests can be found # Default: wdl-ci.config.json @@ -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/wdl-ci@v2.0.2 + uses: dnastack/wdl-ci@v2.0.3 with: wallet-url: ${{ secrets.WALLET_URL }} wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }} @@ -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/wdl-ci@v2.0.2 + uses: dnastack/wdl-ci@v2.0.3 with: wallet-url: ${{ secrets.WALLET_URL }} wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }} @@ -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/wdl-ci@v2.0.2 + uses: dnastack/wdl-ci@v2.0.3 with: wallet-url: ${{ secrets.WALLET_URL }} wallet-client-id: ${{ secrets.WALLET_CLIENT_ID }} diff --git a/action.yml b/action.yml index 9979d0c..7b194ee 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -80,6 +80,6 @@ runs: 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 diff --git a/pyproject.toml b/pyproject.toml index d93e541..7b5a4ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "devs@dnastack.com" } ]