add cacompatibility for gh latest main branch (#66)
This commit is contained in:
@@ -35,6 +35,7 @@ jobs:
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
```
|
||||
|
||||
### Inputs
|
||||
@@ -42,7 +43,7 @@ jobs:
|
||||
| name | value | default | description |
|
||||
| ---- | ----- | ------- | ----------- |
|
||||
| github_token | string | | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}`. |
|
||||
| branch | string | 'master' | Destination branch to push changes. |
|
||||
| branch | string | | Destination branch to push changes. Can be passed in using `${{ github.ref }}`. |
|
||||
| force | boolean | false | Determines if force push is used. |
|
||||
| tags | boolean | false | Determines if `--tags` is used. |
|
||||
| directory | string | '.' | Directory to change to before pushing. |
|
||||
|
Reference in New Issue
Block a user