summaryrefslogtreecommitdiff
path: root/.github/workflows/autobot.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-13 01:04:12 -0500
committerseth <[email protected]>2023-11-13 01:04:12 -0500
commit13b5f40e944d707f7414c8f295e6f20273f99182 (patch)
tree7aba02beb122de6d9ed60ef4e8d4f64b67159f6b /.github/workflows/autobot.yaml
parentd7c791c1c789ac284c504742c5a301076014e1f4 (diff)
actions: use nixbuild/nix-quick-install-action
Diffstat (limited to '.github/workflows/autobot.yaml')
-rw-r--r--.github/workflows/autobot.yaml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/autobot.yaml b/.github/workflows/autobot.yaml
index efb14a9..ddc70d4 100644
--- a/.github/workflows/autobot.yaml
+++ b/.github/workflows/autobot.yaml
@@ -2,15 +2,16 @@ name: auto-merge dependabot
on: pull_request
-permissions:
- contents: write
- pull-requests: write
-
jobs:
automerge:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ pull-requests: write
+
if: github.actor == 'dependabot[bot]'
+
steps:
- uses: dependabot/fetch-metadata@v1
id: metadata
@@ -21,5 +22,5 @@ jobs:
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --rebase "$PR"
env:
- PR: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ github.token }}
+ PR: ${{ github.event.pull_request.html_url }}