Skip to content

Commit

Permalink
pin workflow handling sensitive data to commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Apr 6, 2021
1 parent dcc60c1 commit 818b492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- uses: actions/download-artifact@v2
- run: zip -r coverage.zip coverage/lcov-report
- name: Upload coverage reports to Toolforge
uses: garygrossgarten/github-action-scp@release
uses: garygrossgarten/github-action-scp@dba89d858413133b6e35da91a3c989cc8cde3ad4
with:
local: /home/runner/work/mwn/mwn/coverage.zip
remote: /data/project/mwn/coverage.zip
Expand All @@ -99,7 +99,7 @@ jobs:
privateKey: ${{ secrets.TOOLFORGE_PRIVATE_KEY }}
rmRemote: true
- name: Coverage
uses: garygrossgarten/github-action-ssh@release
uses: garygrossgarten/github-action-ssh@2b10f41b5a33808f6d24eafd253296766308b7c4
with:
command: >-
cd /data/project/mwn &&
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: zipping docs
run: zip -r docs.zip docs
- name: Copy docs to Toolforge
uses: garygrossgarten/github-action-scp@release
uses: garygrossgarten/github-action-scp@dba89d858413133b6e35da91a3c989cc8cde3ad4
with:
local: /home/runner/work/mwn/mwn/docs.zip
remote: /data/project/mwn/docs.zip
Expand All @@ -30,7 +30,7 @@ jobs:
privateKey: ${{ secrets.TOOLFORGE_PRIVATE_KEY }}
rmRemote: true
- name: unzip and copy
uses: garygrossgarten/github-action-ssh@release
uses: garygrossgarten/github-action-ssh@2b10f41b5a33808f6d24eafd253296766308b7c4
with:
command: >-
cd /data/project/mwn &&
Expand Down

0 comments on commit 818b492

Please sign in to comment.