| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 03b4a3a commit 1514885
11 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ on: | |||
| 5 | 5 | push: | |
| 6 | 6 | branches: | |
| 7 | 7 | - master | |
| 8 | + - main | ||
| 8 | 9 | - v[0-9]+.x-staging | |
| 9 | 10 | - v[0-9]+.x | |
| 10 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ on: | |||
| 5 | 5 | push: | |
| 6 | 6 | branches: | |
| 7 | 7 | - master | |
| 8 | + - main | ||
| 8 | 9 | - canary | |
| 9 | 10 | - v[0-9]+.x-staging | |
| 10 | 11 | - v[0-9]+.x | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,7 @@ jobs: | |||
| 28 | 28 | # See https://github.com/nodejs/node-core-utils/pull/486 | |
| 29 | 29 | fetch-depth: 0 | |
| 30 | 30 | # A personal token is required because pushing with GITHUB_TOKEN will | |
| 31 | - # prevent commits from running CI after they land on master. It needs | ||
| 31 | + # prevent commits from running CI after they land. It needs | ||
| 32 | 32 | # to be set here because `checkout` configures GitHub authentication | |
| 33 | 33 | # for push as well. | |
| 34 | 34 | token: ${{ secrets.GH_USER_TOKEN }} | |
@@ -63,15 +63,13 @@ jobs: | |||
| 63 | 63 | owner: ${{ env.OWNER }} | |
| 64 | 64 | repo: ${{ env.REPOSITORY }} | |
| 65 | 65 | # Commit queue is only enabled for the default branch on the repository | |
| 66 | - # TODO(mmarchini): get the default branch programmatically instead of | ||
| 67 | - # assuming `master` | ||
| 68 | - base_ref: "master" | ||
| 66 | + base_ref: ${{ github.repository.default_branch }} | ||
| 69 | 67 | env: | |
| 70 | 68 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 71 | 69 | ||
| 72 | 70 | - name: Configure node-core-utils | |
| 73 | 71 | run: | | |
| 74 | - ncu-config set branch master | ||
| 72 | + ncu-config set branch ${{ github.repository.default_branch }} | ||
| 75 | 73 | ncu-config set upstream origin | |
| 76 | 74 | ncu-config set username "${{ secrets.GH_USER_NAME }}" | |
| 77 | 75 | ncu-config set token "${{ secrets.GH_USER_TOKEN }}" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ on: | |||
| 10 | 10 | push: | |
| 11 | 11 | branches: | |
| 12 | 12 | - master | |
| 13 | + - main | ||
| 13 | 14 | paths-ignore: | |
| 14 | 15 | - 'doc/**' | |
| 15 | 16 | - 'deps/**' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ on: | |||
| 10 | 10 | push: | |
| 11 | 11 | branches: | |
| 12 | 12 | - master | |
| 13 | + - main | ||
| 13 | 14 | paths-ignore: | |
| 14 | 15 | - 'doc/**' | |
| 15 | 16 | - 'deps/**' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ on: | |||
| 5 | 5 | push: | |
| 6 | 6 | branches: | |
| 7 | 7 | - master | |
| 8 | + - main | ||
| 8 | 9 | - v[0-9]+.x-staging | |
| 9 | 10 | - v[0-9]+.x | |
| 10 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ on: | |||
| 5 | 5 | push: | |
| 6 | 6 | branches: | |
| 7 | 7 | - master | |
| 8 | + - main | ||
| 8 | 9 | - v[0-9]+.x-staging | |
| 9 | 10 | - v[0-9]+.x | |
| 10 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,7 @@ on: | |||
| 2 | 2 | push: | |
| 3 | 3 | branches: | |
| 4 | 4 | - master | |
| 5 | + - main | ||
| 5 | 6 | ||
| 6 | 7 | name: Notify on Force Push | |
| 7 | 8 | jobs: | |
@@ -17,7 +18,7 @@ jobs: | |||
| 17 | 18 | SLACK_ICON: https://github.com/nodejs.png?size=48 | |
| 18 | 19 | SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}' | |
| 19 | 20 | SLACK_MESSAGE: | | |
| 20 | - A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/master|${{ github.repository }}@master> by <https://github.com/${{ github.actor }}|${{ github.actor }}> | ||
| 21 | + A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}> | ||
| 21 | 22 | ||
| 22 | 23 | Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}> | |
| 23 | 24 | After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,7 @@ on: | |||
| 4 | 4 | push: | |
| 5 | 5 | branches: | |
| 6 | 6 | - master | |
| 7 | + - main | ||
| 7 | 8 | - canary | |
| 8 | 9 | - v[0-9]+.x-staging | |
| 9 | 10 | - v[0-9]+.x | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ on: | |||
| 5 | 5 | push: | |
| 6 | 6 | branches: | |
| 7 | 7 | - master | |
| 8 | + - main | ||
| 8 | 9 | - canary | |
| 9 | 10 | - v[0-9]+.x-staging | |
| 10 | 11 | - v[0-9]+.x | |
| Back | FazBrowse Home | New Git URL |
0 commit comments