Skip to content

Commit 525365e

Browse files
committed
Use hashes
1 parent cfa8d1e commit 525365e

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/release_schedule.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,24 @@ jobs:
1717
contents: write
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121
with:
2222
# We're going to make a tag that we can we release so we'll need the full history for that
2323
fetch-depth: 0
24-
25-
- uses: prefix-dev/setup-pixi@v0.9.2
24+
- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
2625
with:
2726
pixi-version: "v0.49.0"
28-
2927
- name: Generate artifacts
3028
run: |
3129
pixi run generate-schedule --locked
32-
3330
- name: Test json artifact
3431
run: |
3532
cat schedule.json | jq
36-
3733
- name: setup git
3834
run: |
3935
# git will complain if we don't do this first
4036
git config user.name "github-actions[bot]"
4137
git config user.email "github-actions[bot]@users.noreply.github.com"
42-
4338
- name: determine tag name
4439
id: tag_name
4540
run: |
@@ -53,7 +48,6 @@ jobs:
5348
git tag ${{ steps.tag_name.outputs.TAG_NAME }}
5449
git push origin main
5550
git push origin tag ${{ steps.tag_name.outputs.TAG_NAME }}
56-
5751
- name: Publish github release
5852
uses: softprops/action-gh-release@v2
5953
env:

action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ runs:
3535
using: "composite"
3636
steps:
3737
- name: Checkout code
38-
uses: actions/checkout@v6
38+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3939
- name: Set up Git
4040
shell: bash
4141
run: |
4242
git config user.name "Scientific Python [bot]"
4343
git config user.email "scientific-python@users.noreply.github.com"
44-
- uses: prefix-dev/setup-pixi@v0.9.3
44+
- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
4545
name: Setup Pixi
4646
with:
4747
pixi-version: v0.49.0
4848
manifest-path: ${{ github.action_path }}/pyproject.toml
4949
- name: Fetch Schedule from release
50-
uses: robinraju/release-downloader@v1.3
50+
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
5151
with:
5252
repository: "savente93/SPEC0-schedule"
5353
latest: true
@@ -71,7 +71,7 @@ runs:
7171
fi
7272
- name: Create Pull Request
7373
if: ${{ fromJSON(inputs.create_pr) && fromJSON(steps.changes.outputs.changes_detected) }}
74-
uses: peter-evans/create-pull-request@v7
74+
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.2
7575
with:
7676
token: ${{ inputs.token }}
7777
commit-message: ${{ inputs.commit_msg }}

0 commit comments

Comments
 (0)