mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Replace default branch name with main
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user