-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): use SSH on the merge bot (#607)
I'm seeing an access denied for the bot (but not for workflow_dispatch). Let's use an SSH user and see what happens. Signed-off-by: Claudio André <[email protected]>
- Loading branch information
1 parent
fb3c4f1
commit 6579932
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -100,3 +100,6 @@ index [0-9a-z]{7,40}\.\.[0-9a-z]{7,40} | |
# hit-count: 1 file-count: 1 | ||
# curl arguments | ||
\b(?:\\n|)curl(?:\s+-[a-zA-Z]{1,2}\b)*(?:\s+-[a-zA-Z]{3,})(?:\s+-[a-zA-Z]+)* | ||
|
||
# SSH information | ||
SHA256:ok.{42}[email protected] |
This file contains 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 |
---|---|---|
|
@@ -49,6 +49,7 @@ jobs: | |
egress-policy: block | ||
allowed-endpoints: > | ||
api.github.com:443 | ||
github.com:22 | ||
github.com:443 | ||
raw.githubusercontent.com:443 | ||
|
@@ -57,10 +58,15 @@ jobs: | |
GITHUB_CONTEXT: ${{ toJSON(github) }} | ||
run: echo "$GITHUB_CONTEXT" | ||
|
||
- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # v0.9.0 | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
ref: main | ||
ssh-key: "SHA256:ok+PGEmHdM/emA1zW4KJFOi59cOhuxk9wB3rrUwi1dg [email protected]" | ||
|
||
- name: Auto-merge PRs | ||
run: | | ||
|