From 1ef8963d00f0ea29dec1c18a63b4f7ec2f15fb7b Mon Sep 17 00:00:00 2001 From: Chiedo Date: Thu, 15 Oct 2020 09:07:01 -0400 Subject: [PATCH] Finished moving actions to shas --- .github/allowed-actions.js | 17 ++++++++--------- .github/workflows/check-all-english-links.yml | 2 +- .github/workflows/remove-unused-assets.yml | 2 +- .github/workflows/repo-sync.yml | 6 +++--- .../workflows/sync-algolia-search-indices.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/triage-issue-comments.yml | 4 ++-- .github/workflows/triage-issues.yml | 4 ++-- .github/workflows/triage-pull-requests.yml | 4 ++-- .github/workflows/update-graphql-files.yml | 2 +- 10 files changed, 22 insertions(+), 23 deletions(-) diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 666f16c342..a1331a3878 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -17,7 +17,7 @@ module.exports = [ 'actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8', 'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688', 'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', - 'docker://chinthakagodawita/autoupdate-action:v1', + 'docker://chinthakagodawita/autoupdate-action:4d72a15b5989091e07d6f4ce4cd3afb7b835ad1e68190937df778b702a547cdc', 'fkirc/skip-duplicate-actions@a12175f6209d4805b5a163d723270be2a0dc7b36', 'github/codeql-action/analyze@v1', 'github/codeql-action/init@v1', @@ -26,13 +26,12 @@ module.exports = [ 'juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b', 'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512', 'pascalgn/automerge-action@c9bd182', - 'peter-evans/create-issue-from-file@v2', - 'peter-evans/create-pull-request@v2', - 'rachmari/actions-add-new-issue-to-column@v1.1.1', - 'rachmari/labeler@v1.0.4', - 'repo-sync/github-sync@v2', - 'repo-sync/pull-request@v2', - 'rtCamp/action-slack-notify@master', - 'rtCamp/action-slack-notify@v2.1.0', + 'peter-evans/create-issue-from-file@35e304e2a12caac08c568247a2cb46ecd0c3ecc5', + 'peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8', + 'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9', + 'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e', + 'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88', + 'repo-sync/pull-request@ea6773388b83b337e4da9a223293309f2c3670e7', + 'rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815', 'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0' ] diff --git a/.github/workflows/check-all-english-links.yml b/.github/workflows/check-all-english-links.yml index 9b4dceb71f..bb05d7add2 100644 --- a/.github/workflows/check-all-english-links.yml +++ b/.github/workflows/check-all-english-links.yml @@ -28,7 +28,7 @@ jobs: fi - if: ${{ steps.check.outputs.continue == 'yes' }} name: Create issue from file - uses: peter-evans/create-issue-from-file@v2 + uses: peter-evans/create-issue-from-file@35e304e2a12caac08c568247a2cb46ecd0c3ecc5 with: token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} title: ${{ steps.check.outputs.title }} diff --git a/.github/workflows/remove-unused-assets.yml b/.github/workflows/remove-unused-assets.yml index 1d32712d32..e9defd4549 100644 --- a/.github/workflows/remove-unused-assets.yml +++ b/.github/workflows/remove-unused-assets.yml @@ -34,7 +34,7 @@ jobs: - name: Remove script results file run: rm -rf ./results.md - name: Create pull request - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8 with: # need to use a token with repo and workflow scopes for this step token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index db63d8c8df..dfad64bb6a 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 - name: Sync repo to branch - uses: repo-sync/github-sync@v2 + uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88 env: GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} with: @@ -40,7 +40,7 @@ jobs: github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} - name: Create pull request - uses: repo-sync/pull-request@v2 + uses: repo-sync/pull-request@ea6773388b83b337e4da9a223293309f2c3670e7 env: GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} with: @@ -66,7 +66,7 @@ jobs: number: ${{ steps.find-pull-request.outputs.number }} - name: Send Slack notification if workflow fails - uses: rtCamp/action-slack-notify@master + uses: rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815 if: failure() env: SLACK_WEBHOOK: ${{ secrets.DOCS_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/sync-algolia-search-indices.yml b/.github/workflows/sync-algolia-search-indices.yml index fd258360b0..04677d17d0 100644 --- a/.github/workflows/sync-algolia-search-indices.yml +++ b/.github/workflows/sync-algolia-search-indices.yml @@ -32,7 +32,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npm run sync-search - name: Send slack notification if workflow run fails - uses: rtCamp/action-slack-notify@v2.1.0 + uses: rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815 if: failure() env: SLACK_WEBHOOK: ${{ secrets.DOCS_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 500bfab8a3..b25153e499 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -117,7 +117,7 @@ jobs: run: npx jest tests/${{ matrix.test-group }}/ - name: Send Slack notification if workflow fails - uses: rtCamp/action-slack-notify@master + uses: rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815 if: failure() && github.ref == 'early-access' env: SLACK_WEBHOOK: ${{ secrets.DOCS_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/triage-issue-comments.yml b/.github/workflows/triage-issue-comments.yml index 4f037dd8a2..75c8dd5bd9 100644 --- a/.github/workflows/triage-issue-comments.yml +++ b/.github/workflows/triage-issue-comments.yml @@ -33,13 +33,13 @@ jobs: return 'false' } - name: Label issues with new comments with 'triage' - uses: rachmari/labeler@v1.0.4 + uses: rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e if: (steps.is-internal-contributor.outputs.result == 'false') with: repo-token: "${{ secrets.GITHUB_TOKEN }}" add-labels: "triage" - name: Triage to project board - uses: rachmari/actions-add-new-issue-to-column@v1.1.1 + uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9 with: action-token: ${{ secrets.GITHUB_TOKEN }} project-url: "https://github.com/github/docs/projects/1" diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index 6bf0888eec..91d1ca4442 100644 --- a/.github/workflows/triage-issues.yml +++ b/.github/workflows/triage-issues.yml @@ -10,12 +10,12 @@ jobs: steps: - name: Label new issues with 'triage' - uses: rachmari/labeler@v1.0.4 + uses: rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e with: repo-token: "${{ secrets.GITHUB_TOKEN }}" add-labels: "triage" - name: Triage to project board - uses: rachmari/actions-add-new-issue-to-column@v1.1.1 + uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9 with: action-token: ${{ secrets.GITHUB_TOKEN }} project-url: "https://github.com/github/docs/projects/1" diff --git a/.github/workflows/triage-pull-requests.yml b/.github/workflows/triage-pull-requests.yml index 778d6a1110..d1af016cfd 100644 --- a/.github/workflows/triage-pull-requests.yml +++ b/.github/workflows/triage-pull-requests.yml @@ -10,12 +10,12 @@ jobs: steps: - name: Label new pull requests with 'triage' - uses: rachmari/labeler@v1.0.4 + uses: rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e with: repo-token: "${{ secrets.GITHUB_TOKEN }}" add-labels: "triage" - name: Triage to project board - uses: rachmari/actions-add-new-issue-to-column@v1.1.1 + uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9 with: action-token: ${{ secrets.GITHUB_TOKEN }} project-url: "https://github.com/github/docs/projects/1" diff --git a/.github/workflows/update-graphql-files.yml b/.github/workflows/update-graphql-files.yml index b7ec38be65..bc11673c38 100644 --- a/.github/workflows/update-graphql-files.yml +++ b/.github/workflows/update-graphql-files.yml @@ -46,7 +46,7 @@ jobs: script/graphql/build-changelog-from-markdown.js - name: Create pull request id: create-pull-request - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8 with: # need to use a token with repo and workflow scopes for this step token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}