You know what let's just check out the second half

This commit is contained in:
Yair Morgenstern 2023-11-28 11:52:45 +02:00
parent 339815fa41
commit 9a2c45d9e8

View File

@ -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