From b9e514332e1fb68e3279be8c2e8510ace1e97000 Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Fri, 22 Sep 2023 12:51:35 +1200 Subject: [PATCH 1/2] WIP: action --- .github/workflows/publish-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-test.yaml b/.github/workflows/publish-test.yaml index 7a58b0fc1..f455c5bf1 100644 --- a/.github/workflows/publish-test.yaml +++ b/.github/workflows/publish-test.yaml @@ -11,7 +11,7 @@ on: jobs: main: - if: ${{ github.event.pull_request.merged == true }} && ${{github.event.label.name == 'publish-odr*'}} + if: ${{ github.event.pull_request.merged == true }} #&& ${{github.event.label.name == 'publish-odr*'}} runs-on: ubuntu-latest permissions: id-token: write @@ -74,7 +74,7 @@ jobs: # if: ${{ github.event.label.name == 'publish-odr-added-only'}} id: added-files run: | - git diff --name-status ${{ github.event.before }} ${{ github.event.after }} | grep ^A + git diff --name-status ${{ github.event.pull_request.base.rfa }} ${{ github.event.pull_request.base.sha }} | grep ^A echo "added_files=$(git diff --name-status ${{ github.event.before }} ${{ github.event.after }} | grep ^A)" >> $GITHUB_OUTPUT # - name: Submit Added Workflow(s) Only From fe89ff9d04d85c14dc142c4a36ebd188519dcd9b Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Fri, 22 Sep 2023 12:51:50 +1200 Subject: [PATCH 2/2] WIP: test --- workflow-parameters/test copy 6.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 workflow-parameters/test copy 6.yaml diff --git a/workflow-parameters/test copy 6.yaml b/workflow-parameters/test copy 6.yaml new file mode 100644 index 000000000..6a2e6265c --- /dev/null +++ b/workflow-parameters/test copy 6.yaml @@ -0,0 +1,2 @@ +"source":"s3://linz-imagery-staging/test/" +"target":"s3://linz-workflow-artifacts/mdavidson/"