You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b385782
Browse filesBrowse the repository at this point in the historyBrowse files
Pin workflow actions to commits and grant their tokens only what they need (#3088)
Every action and reusable workflow was referenced by a tag or a branch its
owner can move, and every job ran with the repository's default read/write
token. Both Danger callers also passed `secrets: inherit`, handing every
repository secret to another repository's workflow, though Danger uses only
the token.
Each reference now names the commit its tag or branch points to today, with
the version as a comment, so what runs is unchanged. test and edge read only.
The Danger callers grant what the called workflows ask for, and no secrets.
Dependabot keeps the pins current, proposing a release once it is a week old.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
*[#3056](https://github.com/ruby-grape/grape/pull/3056): Drop support for Rails 7.2 and require ActiveSupport 8.0 - [@ericproulx](https://github.com/ericproulx).
10
10
*[#3062](https://github.com/ruby-grape/grape/pull/3062): Use the reusable Danger workflow with a separate Gemfile - [@dblock](https://github.com/dblock).
11
11
*[#3063](https://github.com/ruby-grape/grape/pull/3063): Drop support for Rack 2.2 and 3.0 and require Rack 3.1 - [@ericproulx](https://github.com/ericproulx).
12
+
*[#3088](https://github.com/ruby-grape/grape/pull/3088): Pin workflow actions to commits and grant their tokens only what they need - [@ericproulx](https://github.com/ericproulx).
0 commit comments