mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 14:49:25 +00:00
Replace default branch name with main
This commit is contained in:
parent
b507739f17
commit
1ba1e95cf2
5 changed files with 9 additions and 9 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
on:
|
||||
push: {branches: master}
|
||||
pull_request: {branches: master}
|
||||
push: {branches: main}
|
||||
pull_request: {branches: main}
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
|
|
|
|||
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
|
|
@ -1,12 +1,12 @@
|
|||
on:
|
||||
push: {branches: master}
|
||||
push: {branches: main}
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: output-set
|
||||
uses: actions/github-script@master
|
||||
uses: actions/github-script@main
|
||||
with:
|
||||
script: return core.getInput('input-value')
|
||||
result-encoding: string
|
||||
|
|
|
|||
2
.github/workflows/pull-request-test.yml
vendored
2
.github/workflows/pull-request-test.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
on:
|
||||
pull_request:
|
||||
branches: master
|
||||
branches: main
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue