-
Notifications
You must be signed in to change notification settings - Fork 471
Test artifactory-oidc #791
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
0e2a054
061441c
1a98cef
81dea04
b02f7cf
3407723
30c4620
8de2e52
feafee9
7b531d8
2ee2a58
400c7a6
f523fc2
25cae58
ab42181
e5861b9
fba32c8
20b0441
9ab8c51
30d47b6
544b1b4
72a7094
6e8cae2
c528be7
9acc6e1
faaad6a
6d274c9
3b7b53f
8efebed
d973634
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: Test Artifactory OIDC (Ruby) | ||
| on: workflow_dispatch | ||
|
|
||
| jobs: | ||
| test-oidc: | ||
| runs-on: ubuntu-x64 | ||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: twilio/sdk-actions/artifactory-oidc@dv/add-ruby-ecosystem | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
✨ Fixed in commit 1a98cef ✨ |
||
| with: | ||
| ecosystem: ruby | ||
| - uses: ruby/setup-ruby@v1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
🍰 Fixed in commit 1a98cef 🍰 |
||
| with: | ||
| ruby-version: "3.2" | ||
| - name: Verify Bundler mirror is configured | ||
| run: | | ||
| echo "Bundler config:" | ||
| bundle config mirror.https://rubygems.org/ | ||
| bundle config mirror.https://rubygems.org/ | grep -q "twilio.jfrog.io" \ | ||
| && echo "OK — mirror points to Artifactory" \ | ||
| || { echo "FAIL — mirror not set"; exit 1; } | ||
| - name: Test bundle install through Artifactory | ||
| run: | | ||
| bundle install --verbose 2>&1 | head -50 | ||
| echo "bundle install succeeded" | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g.uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608.🧁 Fixed in commit 1a98cef 🧁