Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Update progress

Update progress #25

name: Merge PR (Pull Shark Automation)
on:
pull_request:
jobs:
merge:
name: "Merge"
runs-on: "ubuntu-latest"
steps:
- name: "Merge PR"
uses: "actions/github-script@v5"
with:
github-token: "${{ secrets.PAT }}"
script: |
const pull_number = context.payload.pull_request.number;
const owner = context.repo.owner;
const repo = context.repo.repo;
await github.rest.pulls.merge({
owner: owner,
repo: repo,
pull_number: pull_number,
merge_method: "merge"
});