butlerx
5 years ago
No known key found for this signature in database
GPG Key ID: B37CA765BAA89170
2 changed files with
14 additions and
4 deletions
-
.github/workflows/publish.yml
-
.github/workflows/rebase.yml
|
@ -27,4 +27,4 @@ jobs: |
|
|
uses: mikeal/merge-release@master |
|
|
uses: mikeal/merge-release@master |
|
|
env: |
|
|
env: |
|
|
GITHUB_TOKEN: ${{ secrets.node_github_token }} |
|
|
GITHUB_TOKEN: ${{ secrets.node_github_token }} |
|
|
NODE_AUTH_TOKEN: ${{ secrets.npm_token }} |
|
|
NPM_AUTH_TOKEN: ${{ secrets.npm_token }} |
|
|
|
@ -2,15 +2,25 @@ |
|
|
name: Automatic Rebase |
|
|
name: Automatic Rebase |
|
|
on: |
|
|
on: |
|
|
issue_comment: |
|
|
issue_comment: |
|
|
types: [created] |
|
|
types: |
|
|
|
|
|
- created |
|
|
jobs: |
|
|
jobs: |
|
|
rebase: |
|
|
rebase: |
|
|
name: Rebase |
|
|
name: Rebase |
|
|
if: contains(github.event.comment.body, '/rebase') |
|
|
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@master |
|
|
- uses: actions/checkout@master |
|
|
|
|
|
with: |
|
|
|
|
|
fetch-depth: 0 |
|
|
- name: Automatic Rebase |
|
|
- name: Automatic Rebase |
|
|
uses: cirrus-actions/rebase@master |
|
|
uses: cirrus-actions/rebase@1.2 |
|
|
env: |
|
|
env: |
|
|
GITHUB_TOKEN: ${{ secrets.node_github_token }} |
|
|
GITHUB_TOKEN: ${{ secrets.node_github_token }} |
|
|
|
|
|
# https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250 |
|
|
|
|
|
always_job: |
|
|
|
|
|
name: Always run job |
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
|
|
|
- name: Always run |
|
|
|
|
|
run: echo "This job is used to prevent the workflow to fail when all other jobs are skipped." |
|
|