From c3b360bc5c3646d691826af86ed9d3e2cc8f97ca Mon Sep 17 00:00:00 2001 From: JT Date: Wed, 31 Jan 2024 22:58:41 +1100 Subject: [PATCH 1/2] Update to use latest Node based Actions Node 16 is deprecated, update workflow to reflect latest versions of `checkout` and `github-script` --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 48f7abe..1bb7ed2 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ runs: using: 'composite' steps: - name: Checkout parent repository and branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ inputs.github_token }} repository: ${{ inputs.parent_repository }} @@ -51,7 +51,7 @@ runs: git push --set-upstream origin $GITHUB_RUN_ID - name: Create pull request against target branch - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: github-token: ${{ inputs.github_token }} script: | @@ -65,7 +65,7 @@ runs: }); - name: Add labels - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: github-token: ${{ inputs.github_token }} script: | From b7a0fef4e0a4e5c6c224602dde315d8d6d295103 Mon Sep 17 00:00:00 2001 From: JT Date: Wed, 31 Jan 2024 23:00:19 +1100 Subject: [PATCH 2/2] Update to checkout v4 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1bb7ed2..bf36b79 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ runs: using: 'composite' steps: - name: Checkout parent repository and branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ inputs.github_token }} repository: ${{ inputs.parent_repository }}