Skip to content

Commit

Permalink
[actions] Include SHA version of the action used
Browse files Browse the repository at this point in the history
This commit updates the version number of the actions being used.
Now they will use the commit SHA of a released action version because
it is the safest for stability and security.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
  • Loading branch information
jjmerchante committed Oct 13, 2022
1 parent 254f238 commit b360f00
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.8
uses: actions/setup-python@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/grimoirelab-release.yml
Expand Up @@ -337,12 +337,12 @@ jobs:
- grimoirelab-elk
- grimoirelab-sirmordred
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
with:
token: '${{ secrets.GRIMOIRELAB_BUILD_TOKEN }}'

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-grimoirelab-component.yml
Expand Up @@ -60,10 +60,10 @@ jobs:
changed_version: ${{ steps.changed-version.outputs.changed }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -28,13 +28,13 @@ jobs:

steps:
- name: Download distribution artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
with:
name: grimoirelab-dist
path: dist

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit b360f00

Please sign in to comment.