GitHub action to automatically merge pull requests that are ready
MIT License
862
stars
210
forks
source link
ERROR fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing #243
fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing
Usage
- name: Merge pull request
id: automerge
uses: pascalgn/automerge-action@v0.16.0
env:
MERGE_LABELS: automated-pr # Defines which PR labels should be automatically merged
MERGE_REQUIRED_APPROVALS: 2
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
New version(0.16.0) now throws this error
Usage