summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-07 11:14:01 -0400
committerseth <[email protected]>2023-10-07 11:14:01 -0400
commit664fdadd482d1742e37bbd8b50410f86dc10dcbe (patch)
tree1597f1ec67de4cc0f612ff4722e8c811a1f4f306
parenta6c90879e06be1f3b7c5525d6222fb1d04f597a0 (diff)
actions: checkout repo in staging-automerge
-rw-r--r--.github/workflows/staging-automerge.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/staging-automerge.yaml b/.github/workflows/staging-automerge.yaml
index 5894388..3f43d88 100644
--- a/.github/workflows/staging-automerge.yaml
+++ b/.github/workflows/staging-automerge.yaml
@@ -13,10 +13,9 @@ jobs:
contents: write
pull-requests: write
- env:
- GITHUB_TOKEN: ${{ github.token }}
-
steps:
+ - uses: actions/checkout@v4
+
- name: create pr
run: |
{
@@ -30,5 +29,11 @@ jobs:
echo EOF
} >> "$GITHUB_ENV"
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
+
+
- name: enable auto-merge
run: gh pr merge --auto --rebase "$PR"
+ env:
+ GITHUB_TOKEN: ${{ github.token }}