Skip to content

Commit

Permalink
Enhance security of actions (#69)
Browse files Browse the repository at this point in the history
* tag the wei/git-sync github action to specific tag
  • Loading branch information
Moritz-Alexander-Kern committed May 25, 2023
1 parent 0d89a8b commit 1262119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ebrains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# this task will push the master branch of the source_repo (github) to the
# destination_repo (ebrains gitlab)
- name: syncmaster
uses: wei/git-sync@v3
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # corresponds to v3
# component owners need to set their own variables
# the destination_repo format is
# https://gitlab_service_account_name:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/name_of_mirror.git
Expand All @@ -25,7 +25,7 @@ jobs:
destination_branch: "master"
# this task will push all tags from the source_repo to the destination_repo
- name: synctags
uses: wei/git-sync@v3
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 # corresponds to v3
with:
source_repo: "INM-6/viziphant"
source_branch: "refs/tags/*"
Expand Down

0 comments on commit 1262119

Please sign in to comment.