Skip to content

Commit

Permalink
[Feat] Reference actions by commit SHA (#7887)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabibguti authored and Pessimistress committed May 13, 2023
1 parent 28b3248 commit c8070df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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 }}

Expand All @@ -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 }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down

0 comments on commit c8070df

Please sign in to comment.