From 5d2eb1f2388a7d99aae811721c70e75ed8b8a76c Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Mon, 17 Oct 2022 18:03:17 +0200 Subject: [PATCH] fix: ci is failing since 2022-10-17 (#1397) * Update push.yml * Update main.yaml * Update action.yml --- pkg/runner/testdata/issue-104/main.yaml | 2 +- .../testdata/local-action-via-composite-dockerfile/action.yml | 4 ++-- pkg/runner/testdata/remote-action-docker/push.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/runner/testdata/issue-104/main.yaml b/pkg/runner/testdata/issue-104/main.yaml index 4ab3ef5..4718d02 100644 --- a/pkg/runner/testdata/issue-104/main.yaml +++ b/pkg/runner/testdata/issue-104/main.yaml @@ -10,6 +10,6 @@ jobs: steps: - name: hello - uses: actions/hello-world-docker-action@master + uses: actions/hello-world-docker-action@v1 with: who-to-greet: "World" diff --git a/pkg/runner/testdata/local-action-via-composite-dockerfile/action.yml b/pkg/runner/testdata/local-action-via-composite-dockerfile/action.yml index cbf4354..042b2ce 100644 --- a/pkg/runner/testdata/local-action-via-composite-dockerfile/action.yml +++ b/pkg/runner/testdata/local-action-via-composite-dockerfile/action.yml @@ -32,7 +32,7 @@ runs: shell: bash - uses: ./localdockerimagetest_ # Also test a remote docker action here - - uses: actions/hello-world-docker-action@main + - uses: actions/hello-world-docker-action@v1 with: who-to-greet: 'Mona the Octocat' # Test if GITHUB_ACTION_PATH is set correctly after all steps @@ -41,4 +41,4 @@ runs: - run: stat $GITHUB_ACTION_PATH/action.yml shell: bash - run: '[[ "$GITHUB_ACTION_REPOSITORY" == "" ]] && [[ "$GITHUB_ACTION_REF" == "" ]]' - shell: bash \ No newline at end of file + shell: bash diff --git a/pkg/runner/testdata/remote-action-docker/push.yml b/pkg/runner/testdata/remote-action-docker/push.yml index e5075bf..a1ba05b 100644 --- a/pkg/runner/testdata/remote-action-docker/push.yml +++ b/pkg/runner/testdata/remote-action-docker/push.yml @@ -5,6 +5,6 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/hello-world-docker-action@main + - uses: actions/hello-world-docker-action@v1 with: who-to-greet: 'Mona the Octocat'