summaryrefslogtreecommitdiff
path: root/.github/workflows/autobot.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/autobot.yaml')
-rw-r--r--.github/workflows/autobot.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/autobot.yaml b/.github/workflows/autobot.yaml
index fe92dfa..0457591 100644
--- a/.github/workflows/autobot.yaml
+++ b/.github/workflows/autobot.yaml
@@ -15,14 +15,15 @@ jobs:
pull-requests: write
steps:
- - uses: dependabot/fetch-metadata@v2
+ - name: Fetch metadata
+ uses: dependabot/fetch-metadata@v2
id: metadata
with:
github-token: ${{ github.token }}
- name: Enable auto-merge
- if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
+ if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
run: gh pr merge --auto --squash "$PR"
env:
- GH_TOKEN: ${{ github.token }}
PR: ${{ github.event.pull_request.html_url }}
+ GH_TOKEN: ${{ github.token }}