mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 22:24:42 +07:00
You know what let's just check out the second half
This commit is contained in:
parent
339815fa41
commit
9a2c45d9e8
24
.github/workflows/uncivbot.yml
vendored
24
.github/workflows/uncivbot.yml
vendored
@ -40,18 +40,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Merge Pull Request
|
||||
uses: "actions/github-script@v5"
|
||||
with:
|
||||
github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
|
||||
script: |
|
||||
const repository = context.repo
|
||||
await github.rest.pulls.merge({
|
||||
merge_method: "squash",
|
||||
owner: repository.owner,
|
||||
pull_number: ${{ github.event.issue.number }},
|
||||
repo: repository.repo,
|
||||
})
|
||||
# - name: Merge Pull Request
|
||||
# uses: "actions/github-script@v5"
|
||||
# with:
|
||||
# github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
|
||||
# script: |
|
||||
# const repository = context.repo
|
||||
# await github.rest.pulls.merge({
|
||||
# merge_method: "squash",
|
||||
# owner: repository.owner,
|
||||
# pull_number: ${{ github.event.issue.number }},
|
||||
# repo: repository.repo,
|
||||
# })
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v2
|
||||
|
Loading…
Reference in New Issue
Block a user