Skip to content

Commit

Permalink
build: upgrade github actions and use hash signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Sep 16, 2024
1 parent a6a2187 commit d9a5161
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/block-autosquash-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:

steps:
- name: Block Autosquash Commits
uses: xt0rted/[email protected]
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6
- uses: wagoid/commitlint-github-action@9763196e10f27aef304c9b8b660d31d97fce0f99 # v5.5.1
44 changes: 22 additions & 22 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

steps:
- name: Checkout branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -40,13 +40,13 @@ jobs:

steps:
- name: Checkout branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -67,13 +67,13 @@ jobs:

steps:
- name: Checkout branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand Down Expand Up @@ -115,14 +115,14 @@ jobs:
path: packages/design-system-website/dist/

- name: "Retain build artifact: website"
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: website
path: packages/design-system-website/dist/
retention-days: 1

- name: "Retain build artifact: storybook"
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: storybook
path: packages/storybook/dist/
Expand All @@ -136,13 +136,13 @@ jobs:

steps:
- name: Checkout branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -168,15 +168,15 @@ jobs:

steps:
- name: Checkout branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -192,7 +192,7 @@ jobs:
pnpm run --if-present build
- name: Publish to Chromatic
uses: chromaui/action@v11.3.5
uses: chromaui/action@6eca23b4399151ac2cfc17fa95190d807c7e9519 # v11.10.2
if: github.event.pull_request.draft == false
with:
autoAcceptChanges: ${{ env.MAIN_BRANCH }}
Expand Down Expand Up @@ -226,15 +226,15 @@ jobs:

steps:
- name: Checkout release branch
uses: actions/[email protected]
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6
with:
token: ${{ secrets.GH_TOKEN }}

- name: Install pnpm
uses: pnpm/[email protected]
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0

- name: Set up Node.js version
uses: actions/[email protected].2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -261,7 +261,7 @@ jobs:
# pnpm run release

- name: "Continuous Deployment: publish changeset to GitHub repository"
uses: changesets/[email protected].7
uses: changesets/action@3de3850952bec538fde60aac71731376e57b9b57 # v1.4.8
id: changeset
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:

steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Validate commit messages
uses: wagoid/commitlint-github-action@v5
uses: wagoid/commitlint-github-action@9763196e10f27aef304c9b8b660d31d97fce0f99 # v5.5.1

0 comments on commit d9a5161

Please sign in to comment.