-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] Reference actions by commit SHA (#7887)
It's important to make sure the SHA's are from the original repositories and not forks. For reference: https://github.com/actions/checkout/releases/tag/v2.1.1 https://github.com/actions/checkout/commit/86f86b36ef15e6570752e7175f451a512eac206b https://github.com/actions/setup-node/releases/tag/v1 actions/setup-node@f1f314f Signed-off-by: Gabriela Gutierrez <[email protected]>
- Loading branch information
1 parent
28b3248
commit c8070df
Showing
3 changed files
with
10 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,13 @@ jobs: | |
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@86f86b36ef15e6570752e7175f451a512eac206b # v2.1.1 | ||
|
||
- name: Get git tags (https://github.com/actions/checkout/issues/206) | ||
run: git fetch --tags -f | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 | ||
with: | ||
node-version: '16.x' | ||
|
||
|
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 |
---|---|---|
|
@@ -18,10 +18,10 @@ jobs: | |
contents: read | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@86f86b36ef15e6570752e7175f451a512eac206b # v2.1.1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 | ||
with: | ||
node-version: '16.x' | ||
|
||
|
@@ -36,7 +36,7 @@ jobs: | |
xvfb-run -s "-ac -screen 0 1280x1024x16" yarn test ci | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
uses: coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # v1.2.5 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
@@ -47,10 +47,10 @@ jobs: | |
python-version: [3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # v2.3.3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
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: | |
GoogleMapsMapId: ${{ secrets.GOOGLE_MAPS_MAP_ID }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@86f86b36ef15e6570752e7175f451a512eac206b # v2.1.1 | ||
with: | ||
token: ${{ secrets.ADMIN_TOKEN }} | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 | ||
with: | ||
node-version: '16.x' | ||
|
||
|
@@ -51,7 +51,7 @@ jobs: | |
- name: Deploy | ||
if: ${{ endsWith(github.ref, steps.get-version.outputs.latest) }} | ||
uses: JamesIves/[email protected] | ||
uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
|