This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin versions of third-party github actions (#10351)
- Loading branch information
Showing
7 changed files
with
15 additions
and
15 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
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
environment: Netlify | ||
steps: | ||
- name: 📝 Create Deployment | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1 | ||
id: deployment | ||
with: | ||
step: start | ||
|
@@ -33,15 +33,15 @@ jobs: | |
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action | ||
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess: | ||
- name: 📥 Download artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2 | ||
with: | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: previewbuild | ||
path: webapp | ||
|
||
- name: ☁️ Deploy to Netlify | ||
id: netlify | ||
uses: nwtgck/[email protected] | ||
uses: nwtgck/actions-netlify@5da65c9f74c7961c5501a3ba329b8d0912f39c03 # v2.0 | ||
with: | ||
publish-dir: webapp | ||
deploy-message: "Deploy from GitHub Actions" | ||
|
@@ -55,7 +55,7 @@ jobs: | |
timeout-minutes: 1 | ||
|
||
- name: 🚦 Update deployment status | ||
uses: bobheadxi/deployments@v1 | ||
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1 | ||
if: always() | ||
with: | ||
step: finish | ||
|
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 |
---|---|---|
|
@@ -60,13 +60,13 @@ jobs: | |
|
||
- name: Get diff lines | ||
id: diff | ||
uses: Equip-Collaboration/[email protected] | ||
uses: Equip-Collaboration/diff-line-numbers@df70b4b83e05105c15f20dc6cc61f1463411b2a6 # v1.0.0 | ||
with: | ||
include: '["\\.tsx?$"]' | ||
|
||
- name: Detecting files changed | ||
id: files | ||
uses: futuratrepadeira/[email protected] | ||
uses: futuratrepadeira/changed-files@96d5fd702a6479d573287ef07381ad59acc390ed # v4.0.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
pattern: '^.*\.tsx?$' | ||
|
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