From 45cdbcf7d1a9e8679256fd7bcea04293f4e29a5d Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 20 Aug 2025 08:11:13 -0400 Subject: [PATCH 1/2] Increase GitHub Action checkout version to v5 Signed-off-by: mulhern --- github-modify/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github-modify/action.yml b/github-modify/action.yml index cb6b9b6..2782649 100644 --- a/github-modify/action.yml +++ b/github-modify/action.yml @@ -14,7 +14,7 @@ runs: if: github.event_name == 'pull_request' id: jbaublitz continue-on-error: true - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: repository: jbaublitz/${{ inputs.repo }} path: jbaublitz @@ -23,7 +23,7 @@ runs: if: github.event_name == 'pull_request' id: mulkieran continue-on-error: true - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: repository: mulkieran/${{ inputs.repo }} path: mulkieran @@ -44,7 +44,7 @@ runs: run: mv mulkieran ${{ inputs.repo }} - name: Check out stratis-storage repo if no alternative branch was checked out if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && steps.mulkieran.outcome == 'failure' && steps.jbaublitz.outcome == 'failure') - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: repository: stratis-storage/${{ inputs.repo }} path: ${{ inputs.repo }} From 569e8d9bb2c5fbf8493bb02afbfd7460af770894 Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 20 Aug 2025 08:12:38 -0400 Subject: [PATCH 2/2] Set checkout actions persist-credentials value to false Signed-off-by: mulhern --- github-modify/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github-modify/action.yml b/github-modify/action.yml index 2782649..8692e88 100644 --- a/github-modify/action.yml +++ b/github-modify/action.yml @@ -19,6 +19,7 @@ runs: repository: jbaublitz/${{ inputs.repo }} path: jbaublitz ref: ${{ github.head_ref }} + persist-credentials: false - name: Check out mulkieran/${{ inputs.repo }} if: github.event_name == 'pull_request' id: mulkieran @@ -28,6 +29,7 @@ runs: repository: mulkieran/${{ inputs.repo }} path: mulkieran ref: ${{ github.head_ref }} + persist-credentials: false - name: Check if both checkouts succeeded if: github.event_name == 'pull_request' && steps.jbaublitz.outcome == 'success' && steps.mulkieran.outcome == 'success' shell: bash @@ -49,3 +51,4 @@ runs: repository: stratis-storage/${{ inputs.repo }} path: ${{ inputs.repo }} ref: master + persist-credentials: false