Skip to content

Commit

Permalink
sbojanic/ci improve security (#567)
Browse files Browse the repository at this point in the history
* ci: replace tags with commit hashes

* docs: add tag name to comment
  • Loading branch information
sale3 authored Dec 16, 2024
1 parent f3c3d6d commit f23c257
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
matrix:
python-version: ${{ fromJSON(needs.set_python_versions.outputs.all_versions) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -68,10 +68,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #@v4

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #@v5
with:
# build it on the minimum version
python-version: ${{ fromJSON(needs.set_python_versions.outputs.all_versions)[0] }}
Expand Down Expand Up @@ -117,14 +117,14 @@ jobs:
steps:

- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #@v4

- name: Get Upload URL
id: get_upload_url
run: echo "${{ github.event.release.upload_url }}"

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b #@v5
with:
# the newest python that we support
python-version: ${{ needs.set_python_versions.outputs.last_version }}
Expand Down

0 comments on commit f23c257

Please sign in to comment.