From 8bc2af16f5180a8e4fb591c2be916650f75bb8f6 Mon Sep 17 00:00:00 2001 From: csl-bot Date: Tue, 10 Sep 2024 13:12:40 +0000 Subject: [PATCH] copied .github/workflows/merge.yaml .github/workflows/sheldon.yaml from styles --- .github/workflows/merge.yaml | 6 +++--- .github/workflows/sheldon.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index df68334..cec03ce 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -24,9 +24,9 @@ jobs: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" DISTRIBUTION_UPDATER_TOKEN: "${{ secrets.DISTRIBUTION_UPDATER_TOKEN }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'push' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'workflow_dispatch' with: fetch-depth: 0 @@ -35,7 +35,7 @@ jobs: id: release run: echo ::set-output name=branch::v1.0.2 - name: Checkout release branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ steps.release.outputs.branch }} path: './release' diff --git a/.github/workflows/sheldon.yaml b/.github/workflows/sheldon.yaml index e77f72c..0a1f859 100644 --- a/.github/workflows/sheldon.yaml +++ b/.github/workflows/sheldon.yaml @@ -20,17 +20,17 @@ jobs: # labels to a PR # https://securitylab.github.com/research/github-actions-preventing-pwn-requests - name: Checkout repo for OWNER TEST - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: contains(github.event.pull_request.labels.*.name, 'safe to test') with: ref: ${{ github.event.pull_request.head.ref }} # otherwise, checkout the current master, and the pr to the subdirectory 'pull-request' - name: Checkout base repo for pull-request test - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')" - name: Checkout pull-request - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')" with: repository: ${{ github.event.pull_request.head.repo.full_name }}