mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 00:31:51 +02: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:
|
steps:
|
||||||
- name: Add the automerge label
|
- 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
|
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:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
@@ -35,6 +35,6 @@ jobs:
|
|||||||
- id: automerge
|
- id: automerge
|
||||||
if: ${{ github.event.issue.pull_request }}
|
if: ${{ github.event.issue.pull_request }}
|
||||||
name: automerge
|
name: automerge
|
||||||
uses: "pascalgn/automerge-action@v0.16.3"
|
uses: "pascalgn/automerge-action@v0.16.2"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user