Skip to content

Commit

Permalink
update workflows - Pinning GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yarafie committed Feb 14, 2025
1 parent fe2a787 commit eeb43db
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 46 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ubuntu-latest

steps:
# uses: actions/checkout@v4
# uses: actions/setup-node@v4
# uses: actions/[email protected]
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.JS
Expand All @@ -36,7 +33,6 @@ jobs:
run: cd website && npm ci
- id: yamllint
name: Yamllint
# uses: reviewdog/action-yamllint@v1
uses: reviewdog/action-yamllint@3f44a3c4def1e6fbbae499295b94cb6b596ce677
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -47,7 +43,6 @@ jobs:
- if: always()
id: eslint
name: ESLint
# uses: reviewdog/[email protected]
uses: reviewdog/action-eslint@9b5b0150e399e1f007ee3c27bc156549810a64e3
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -63,15 +58,12 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.JS
# uses: actions/setup-node@v4
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: '22'
- name: Cache node modules
# uses: actions/[email protected]
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
env:
cache-name: cache-node-modules
Expand All @@ -87,7 +79,6 @@ jobs:
run: npm ci
- id: prettier
name: Prettier
# uses: creyD/[email protected]
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1
with:
dry: true
Expand All @@ -104,17 +95,14 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ github.head_ref }}
- name: Setup Node.JS
# uses: actions/setup-node@v4
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: '22'
- name: Cache node modules
# uses: actions/[email protected]
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
env:
cache-name: cache-node-modules
Expand All @@ -135,7 +123,6 @@ jobs:
- name: Create .nojekyll file
run: touch website/build/.nojekyll
- name: Deploy to GitHub Pages
# uses: s0/[email protected]
uses: s0/git-publish-subdir-action@92faf786f11dfa44fc366ac3eb274d193ca1af7e
env:
REPO: self
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/ci_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.JS
# uses: actions/setup-node@v4
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: '22'
- name: Cache node modules
# uses: actions/[email protected]
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
env:
cache-name: cache-node-modules
Expand All @@ -35,7 +32,6 @@ jobs:
run: cd website && npm ci
- id: yamllint
name: Yamllint
# uses: reviewdog/action-yamllint@v1
uses: reviewdog/action-yamllint@3f44a3c4def1e6fbbae499295b94cb6b596ce677
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -46,7 +42,6 @@ jobs:
continue-on-error: true
- id: eslint
name: ESLint
# uses: reviewdog/[email protected]
uses: reviewdog/action-eslint@9b5b0150e399e1f007ee3c27bc156549810a64e3
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -60,7 +55,6 @@ jobs:
run: mkdir -p lint && echo "yamllint" >> lint/results.txt
- if: ${{ steps.eslint.outcome == 'failure' }}
run: mkdir -p lint && echo "eslint" >> lint/results.txt
# - uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: lint
Expand All @@ -77,15 +71,12 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.JS
# uses: actions/setup-node@v4
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: '22'
- name: Cache node modules
# uses: actions/[email protected]
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
env:
cache-name: cache-node-modules
Expand All @@ -103,7 +94,6 @@ jobs:
run: cd website && npm ci
- id: prettier
name: Prettier Check
# uses: creyD/[email protected]
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1
with:
dry: true
Expand All @@ -114,7 +104,6 @@ jobs:
- if: ${{ always() && steps.prettier.outcome == 'failure' }}
run: mkdir -p format-lint && echo "prettier" >> format-lint/results.txt
- if: ${{ always() && steps.prettier.outcome == 'failure' }}
# uses: actions/upload-artifact@v4
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: format-lint
Expand All @@ -127,15 +116,12 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Node.JS
# uses: actions/setup-node@v4
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: '22'
- name: Cache node modules
# uses: actions/[email protected]
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
env:
cache-name: cache-node-modules
Expand All @@ -160,9 +146,7 @@ jobs:

steps:
- name: Check out Git repository
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd
id: changes
with:
Expand All @@ -181,14 +165,12 @@ jobs:
- env:
PR_NUM: ${{ github.event.number }}
run: echo $PR_NUM > pr_num.txt
# - uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: changes
path: blueprints.txt
retention-days: 5
if-no-files-found: ignore
# - uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: changes
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/label_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issue_comment' && github.actor != 'github-actions[bot]' }}
steps:
# - uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: actions-ecosystem/action-remove-labels@v1
- uses: actions-ecosystem/action-remove-labels@556e306654eb4c343ecaff657772edaa3f1add86
if: ${{ contains(github.event.issue.labels.*.name, 'status - waiting for feedback') }}
with:
Expand All @@ -36,9 +34,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issues' || github.event_name == 'pull_request' }}
steps:
# - uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: actions-ecosystem/action-remove-labels@v1
- uses: actions-ecosystem/action-remove-labels@556e306654eb4c343ecaff657772edaa3f1add86
if: ${{ github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'status - waiting for feedback') || github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'status - waiting for feedback') }}
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr_commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
fi
env:
TYPE: ${{ github.event.action }}
# - uses: hasura/comment-progress@v2
- uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/pr_commenter_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' && github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download changes analysis
# uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc
with:
commit: ${{ github.event.workflow_run.head_sha }}
Expand All @@ -23,7 +22,6 @@ jobs:
path: changes
- id: pr_info
run: echo "::set-output name=num::$(cat changes/pr_num.txt)"
# - uses: hasura/comment-progress@v2
- uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,7 +42,6 @@ jobs:
urls=$(printf '%s' "$myblueprints" | jq --raw-input --slurp '.')
echo "::set-output name=urls::$urls"
- if: ${{ hashFiles('changes/blueprints.txt') != '' }}
# uses: hasura/comment-progress@v2
uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -65,7 +62,6 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' && github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Download failure reports
# uses: dawidd6/action-download-artifact@v8
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc
with:
commit: ${{ github.event.workflow_run.head_sha }}
Expand All @@ -74,7 +70,6 @@ jobs:
- id: pr_info
run: echo "::set-output name=num::$(cat changes/pr_num.txt)"
- name: Create comment to report failure
# uses: hasura/comment-progress@v2
uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -89,7 +84,6 @@ jobs:
# if the artifact exists, linters failed
- if: ${{ hashFiles('lint/results.txt') != '' }}
name: Report linters failure
# uses: hasura/comment-progress@v2
uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -102,7 +96,6 @@ jobs:
# if the artifact exists, formatters failed
- if: ${{ hashFiles('format-lint/results.txt') != '' }}
name: Report formatters failure
# uses: hasura/comment-progress@v2
uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -113,7 +106,6 @@ jobs:
message: |
* Your files are not properly formatted. Did you remember to run `npm run format` before submitting your changes?
- name: Create comment to report failure
# uses: hasura/comment-progress@v2
uses: hasura/comment-progress@0c4393d5f4d4de95d11b5129506ab87190e892f9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 90 days stale policy for issues & PRs
# uses: actions/stale@v9
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/thread_locker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
# - uses: dessant/lock-threads@v5
- uses: dessant/lock-threads@d42e5f49803f3c4e14ffee0378e31481265dda22
with:
# 30 days of inactivity both for closed issues and PRs
Expand Down

0 comments on commit eeb43db

Please sign in to comment.