GitHub Action to enable automatic merge on a pull request
- uses: scoremedia/action-pr-enable-auto-merge@v1
with:
token: ${{ secrets.PAT }}
pull-request-url: 'https://github.com/octokit/octokit/1'
type: 'squash'
author: '[email protected]'
commit-headline: 'My best feature'
commit-message: 'My feature is so awesome'
Input | Default | Description |
---|---|---|
token | github.token | The token used for github API |
pull-request-url | * | Full html url for the pull request |
type | merge | merge, squash, or rebase method by which to merge |
author | * | The email address for the author to associate with the commit |
commit-headline | * | The commit headline |
commit-message | * | The commit message |
|
- Run npm install in the directory
- Make updates
- Follow release steps
- Create a PR
- Install
vercel/ncc
by running this command in your terminal.npm i -g @vercel/ncc
- Compile your
index.js
file.ncc build index.js --license licenses.txt