-
Notifications
You must be signed in to change notification settings - Fork 126
Ensure SHA Pinned Actions #2802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0a91344
Ensure SHA Pinned Actions
ReimarBauer 0532a4a
disabled dry-run
ReimarBauer 58d6b93
try frizbee
ReimarBauer 5f5a373
syntax fixed
ReimarBauer 083bbdb
undo
ReimarBauer 5f8cca6
try frizbee
ReimarBauer 05a0d7e
hash updated by frizbee
ReimarBauer 67cfb73
updated and a missing sha
ReimarBauer 0da93c7
Merge branch 'stable' into i2736
ReimarBauer f46b706
name
ReimarBauer c5b8956
moved to lint
ReimarBauer 71aaf6f
Update .github/workflows/lint.yml
ReimarBauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,8 +7,8 @@ jobs: | |
| Test-MSS-docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: prefix-dev/[email protected] | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - uses: prefix-dev/setup-pixi@5044b250243a57e8c78f7c38acd73f6d7954a3cf # v0.8.7 | ||
| with: | ||
| pixi-version: latest | ||
| cache: true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - develop | ||
| - stable | ||
| - 'GSOC**' | ||
| pull_request: | ||
|
|
||
| name: Security | ||
|
|
||
| jobs: | ||
| ensure-pinned-actions: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - name: Ensure SHA pinned actions | ||
| uses: zgosalvez/github-actions-ensure-sha-pinned-actions@4830be28ce81da52ec70d65c552a7403821d98d4 # v3 | ||
| with: | ||
| allowlist: | | ||
| Open-MSS/ | ||
| dry_run: 'false' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Frizbee Pinned Actions Check | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 0 * * *' # Run every day at midnight | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| frizbee_check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| with: | ||
| ref: ${{ matrix.base_branch }} | ||
| - name: Update hashes | ||
| uses: stacklok/frizbee-action@a0f3391cbe93a54e2a68cfaca2283f8cf3fd72ea # v0.0.2 | ||
| with: | ||
| token: ${{ secrets.PAT }} | ||
| branch: automation/frizbee-sha | ||
| delete-branch: true | ||
| actions: .github/workflows | ||
| open_pr: true | ||
| fail_on_unpinned: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ jobs: | |
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@5044b250243a57e8c78f7c38acd73f6d7954a3cf # v0.8.7 | ||
| with: | ||
| pixi-version: latest | ||
| cache: true | ||
|
|
@@ -30,8 +30,8 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: prefix-dev/[email protected] | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - uses: prefix-dev/setup-pixi@5044b250243a57e8c78f7c38acd73f6d7954a3cf # v0.8.7 | ||
| with: | ||
| pixi-version: latest | ||
| cache: true | ||
|
|
@@ -43,7 +43,7 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - name: Check for CRLF in the repository | ||
| run: | | ||
| files_with_crlf="$(git ls-files --eol | awk '$1 ~ "crlf"')" | ||
|
|
@@ -54,7 +54,7 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - name: Check for whitespace issues in the repository | ||
| # The two example.txt files need to be excluded because whitespace at EOL is part | ||
| # of their format and they fail to parse otherwise. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,8 +20,8 @@ jobs: | |
| matrix: | ||
| os: ["macos-13", "macos-14", "ubuntu-latest"] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: prefix-dev/[email protected] | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - uses: prefix-dev/setup-pixi@5044b250243a57e8c78f7c38acd73f6d7954a3cf # v0.8.7 | ||
| with: | ||
| pixi-version: latest | ||
| cache: true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,11 +15,11 @@ jobs: | |
| matrix: | ||
| base_branch: ["develop", "stable"] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| with: | ||
| ref: ${{ matrix.base_branch }} | ||
| - name: Generate new lockfile | ||
| uses: prefix-dev/[email protected] | ||
| uses: prefix-dev/setup-pixi@5044b250243a57e8c78f7c38acd73f6d7954a3cf # v0.8.7 | ||
| with: | ||
| pixi-version: latest | ||
| run-install: false | ||
|
|
@@ -28,7 +28,7 @@ jobs: | |
| set -o pipefail | ||
| pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md | ||
| - name: Create or update pull request | ||
| uses: peter-evans/create-pull-request@v7 | ||
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7 | ||
| with: | ||
| token: ${{ secrets.PAT }} | ||
| branch: automation/update-pixi-lockfile | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.