Skip to content

Commit 2006041

Browse files
committed
chore: rename master to main
1 parent 0e9ea30 commit 2006041

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+375
-377
lines changed

.github/chainguard/dependabot-automation.sts.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ subject: repo:DataDog/dd-trace-js:pull_request
44

55
claim_pattern:
66
event_name: pull_request_target
7-
ref: refs/heads/master
7+
ref: refs/heads/main
88
ref_protected: "true"
9-
job_workflow_ref: DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master
9+
job_workflow_ref: DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/main
1010

1111
permissions:
1212
contents: write

.github/chainguard/release-proposal.sts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
issuer: https://token.actions.githubusercontent.com
22

3-
subject: repo:DataDog/dd-trace-js:ref:refs/heads/master
3+
subject: repo:DataDog/dd-trace-js:ref:refs/heads/main
44

55
claim_pattern:
66
event_name: (workflow_dispatch|schedule)
7-
ref: refs/heads/master
7+
ref: refs/heads/main
88
ref_protected: "true"
9-
job_workflow_ref: DataDog/dd-trace-js/.github/workflows/release-proposal.yml@refs/heads/master
9+
job_workflow_ref: DataDog/dd-trace-js/.github/workflows/release-proposal.yml@refs/heads/main
1010

1111
permissions:
1212
contents: write

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
- [ ] API [documentation][3].
1616
- [ ] CI [jobs/workflows][4].
1717

18-
[1]: https://github.com/DataDog/dd-trace-js/blob/master/index.d.ts
19-
[2]: https://github.com/DataDog/dd-trace-js/blob/master/docs/test.ts
18+
[1]: https://github.com/DataDog/dd-trace-js/blob/main/index.d.ts
19+
[2]: https://github.com/DataDog/dd-trace-js/blob/main/docs/test.ts
2020
[3]: https://github.com/DataDog/documentation/blob/master/content/en/tracing/trace_collection/library_config/nodejs.md
21-
[4]: https://github.com/DataDog/dd-trace-js/blob/master/.github/workflows/plugins.yml
21+
[4]: https://github.com/DataDog/dd-trace-js/blob/main/.github/workflows/plugins.yml
2222

2323
### Additional Notes
2424
<!-- Anything else we should know when reviewing? -->

.github/workflows/all-green.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
push:
55
branches:
6-
- master
6+
- main
77
schedule:
88
- cron: 0 4 * * *
99

.github/workflows/apm-capabilities.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: APM Capabilities
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77
schedule:
88
- cron: 0 4 * * *
99

@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
15+
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/main' && '--retries 1' || '' }}
1616

1717
jobs:
1818
tracing-macos:

.github/workflows/apm-integrations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: APM Integrations
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77
schedule:
88
- cron: 0 4 * * *
99

@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
15+
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/main' && '--retries 1' || '' }}
1616

1717
# TODO: upstream jobs
1818

.github/workflows/appsec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: AppSec
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77
schedule:
88
- cron: 0 4 * * *
99

@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
15+
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/main' && '--retries 1' || '' }}
1616

1717
jobs:
1818
macos:

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020

2121
jobs:
2222
analyze:

.github/workflows/debugger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Debugger
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77
schedule:
88
- cron: 0 4 * * *
99

@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
15+
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/main' && '--retries 1' || '' }}
1616

1717
jobs:
1818
ubuntu:

.github/workflows/eslint-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- 'eslint-rules/**'
77
push:
8-
branches: [master]
8+
branches: [main]
99
paths:
1010
- 'eslint-rules/**'
1111

0 commit comments

Comments
 (0)