summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}