mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update onpr_automerge.yaml
This commit is contained in:
4
.github/workflows/onpr_automerge.yaml
vendored
4
.github/workflows/onpr_automerge.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
steps:
|
||||
- name: Add the automerge label
|
||||
if: contains(github.event.comment.body, '/automerge') # <--- The other way to compare if it's on a PR or on an issue
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v4
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
@@ -35,6 +35,6 @@ jobs:
|
||||
- id: automerge
|
||||
if: ${{ github.event.issue.pull_request }}
|
||||
name: automerge
|
||||
uses: "pascalgn/automerge-action@v0.16.3"
|
||||
uses: "pascalgn/automerge-action@v0.16.2"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
Reference in New Issue
Block a user