Improve GitHub Actions automations
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
auto-merge-updates:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor_id == secrets.APP_ID }}
|
||||
if: ${{ github.actor_id == '158570872' }}
|
||||
steps:
|
||||
- run: gh pr merge --auto --delete-branch --squash "${PR_URL}"
|
||||
env:
|
||||
|
||||
@@ -30,6 +30,8 @@ jobs:
|
||||
with:
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
commit-message: ${{ matrix.commit-msg }}
|
||||
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||
branch: ${{ matrix.branch }}
|
||||
delete-branch: true
|
||||
title: ${{ matrix.commit-msg }}
|
||||
|
||||
Reference in New Issue
Block a user