From ee8b4d5335c394805894d43bedf2c85f27333b6e Mon Sep 17 00:00:00 2001 From: Steven Kreitzer Date: Tue, 9 Jan 2024 17:56:41 -0600 Subject: [PATCH] chore(github): clean up workflows --- .github/workflows/bulk-merge-prs.yaml | 4 ++-- .github/workflows/flux-diff.yaml | 6 +++--- .github/workflows/flux-image-test.yaml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bulk-merge-prs.yaml b/.github/workflows/bulk-merge-prs.yaml index a2bf724e00..613ba73177 100644 --- a/.github/workflows/bulk-merge-prs.yaml +++ b/.github/workflows/bulk-merge-prs.yaml @@ -19,14 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Generate Token - uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1 + uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1.6.3 id: app-token with: app-id: "${{ secrets.BOT_APP_ID }}" private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: "${{ steps.app-token.outputs.token }}" diff --git a/.github/workflows/flux-diff.yaml b/.github/workflows/flux-diff.yaml index 439525ea5e..e17038098a 100644 --- a/.github/workflows/flux-diff.yaml +++ b/.github/workflows/flux-diff.yaml @@ -24,21 +24,21 @@ jobs: fail-fast: false steps: - name: Generate Token - uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1 + uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1.6.3 id: app-token with: app-id: "${{ secrets.BOT_APP_ID }}" private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: "${{ steps.app-token.outputs.token }}" ref: "${{ github.event.repository.default_branch }}" path: default - name: Checkout Pull Request Branch - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: "${{ steps.app-token.outputs.token }}" path: pull diff --git a/.github/workflows/flux-image-test.yaml b/.github/workflows/flux-image-test.yaml index 4fa94a3e85..5711936b27 100644 --- a/.github/workflows/flux-image-test.yaml +++ b/.github/workflows/flux-image-test.yaml @@ -23,7 +23,7 @@ jobs: matrix: ${{ steps.extract-images.outputs.images }} steps: - name: Generate Token - uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1 + uses: actions/create-github-app-token@f04aa94d10cf56334d1c580e077ce2e3569e805d # v1.6.3 id: app-token with: app-id: "${{ secrets.BOT_APP_ID }}" @@ -36,14 +36,14 @@ jobs: run: brew update && brew install jo yq - name: Checkout Default Branch - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: "${{ steps.app-token.outputs.token }}" ref: "${{ github.event.repository.default_branch }}" path: default - name: Checkout Pull Request Branch - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: "${{ steps.app-token.outputs.token }}" path: pull