forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hash-pin sensitive dependencies on GitHub Workflows (DefinitelyTyped#…
- Loading branch information
1 parent
610c88b
commit 83fadc3
Showing
7 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,14 @@ jobs: | |
if: github.repository == 'DefinitelyTyped/DefinitelyTyped' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v4 | ||
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | ||
with: | ||
node-version: '20' | ||
- uses: pnpm/action-setup@v2 | ||
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | ||
with: | ||
run_install: | | ||
- args: [--filter, ., --filter, '{./scripts}...'] | ||
|
@@ -38,7 +38,7 @@ jobs: | |
|
||
- run: pnpm run update-codeowners | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
commit_author: 'TypeScript Bot <[email protected]>' | ||
commit_message: '🤖 Update CODEOWNERS' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.repository == 'DefinitelyTyped/DefinitelyTyped' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
# Use the bot token so that CI triggers on pushes; we want to know if formatting broke something. | ||
token: ${{ secrets.GH_DT_MERGEBOT_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | ||
with: | ||
node-version: '20' | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | ||
with: | ||
run_install: | | ||
- args: [--filter, ., --filter, '{./scripts}...'] | ||
|
@@ -31,7 +31,7 @@ jobs: | |
id: date | ||
run: echo "date=$(/bin/date -u "+%Y-%m-%d")" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | ||
with: | ||
# dprint caches info about the files in the repo to skip formatting them. | ||
# However, since package.json and .dprint.jsonc don't change very often, | ||
|
@@ -47,7 +47,7 @@ jobs: | |
- run: pnpm dprint fmt | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
commit_author: 'TypeScript Bot <[email protected]>' | ||
commit_message: '🤖 dprint fmt' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,13 @@ jobs: | |
if: github.repository == 'DefinitelyTyped/DefinitelyTyped' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- uses: actions/setup-node@v4 | ||
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | ||
with: | ||
node-version: '20' | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | ||
with: | ||
run_install: | | ||
- args: [--filter, ., --filter, '{./scripts}...'] | ||
|
@@ -51,7 +51,7 @@ jobs: | |
fi | ||
- if: ${{ inputs.skipPR != 'true' }} | ||
uses: peter-evans/[email protected] | ||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: 'Remove contributors with deleted accounts #no-publishing-comment' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,12 @@ jobs: | |
if: github.repository == 'DefinitelyTyped/DefinitelyTyped' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- uses: actions/setup-node@v4 | ||
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | ||
with: | ||
node-version: '20' | ||
- uses: pnpm/action-setup@v2 | ||
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | ||
with: | ||
run_install: | | ||
- args: [--filter, ., --filter, '{./scripts}...'] | ||
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Make SVG diagram | ||
run: node --experimental-json-modules scripts/support-window > docs/support-window.svg | ||
|
||
- uses: stefanzweifel/[email protected] | ||
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 | ||
with: | ||
commit_author: 'TypeScript Bot <[email protected]>' | ||
commit_message: '🤖 Update support window' | ||
|