mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 08:21:36 +07:00
cleanup
This commit is contained in:
8
.github/workflows/uncivbot.yml
vendored
8
.github/workflows/uncivbot.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
- name: Merge Pull Request
|
- name: Merge Pull Request
|
||||||
uses: "actions/github-script@v5"
|
uses: "actions/github-script@v5"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
|
github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }} # Required because default workflow token can't merge PRs
|
||||||
script: |
|
script: |
|
||||||
const repository = context.repo
|
const repository = context.repo
|
||||||
await github.rest.pulls.merge({
|
await github.rest.pulls.merge({
|
||||||
@ -53,12 +53,6 @@ jobs:
|
|||||||
repo: repository.repo,
|
repo: repository.repo,
|
||||||
})
|
})
|
||||||
|
|
||||||
# Even though the PR was "merged", the head is still not updated - takes Github a while longer
|
|
||||||
# Since there's no simple way to poll for this, we just wait
|
|
||||||
# - uses: GuillaumeFalourd/wait-sleep-action@v1
|
|
||||||
# with:
|
|
||||||
# time: '60' # In seconds
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with: # Required for triggering the deploy on tags added by this automation
|
with: # Required for triggering the deploy on tags added by this automation
|
||||||
# See https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs
|
# See https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs
|
||||||
|
Reference in New Issue
Block a user