Skip to content

Commit cc3567e

Browse files
authored
dev: use HEAD as references (golangci#5377)
1 parent fbc663d commit cc3567e

27 files changed

+235
-229
lines changed

.github/peril/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Based on https://github.com/gatsbyjs/gatsby/tree/master/peril.
1+
Based on https://github.com/gatsbyjs/gatsby/tree/HEAD/peril.
22

33
## Update a code
44

.github/peril/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/danger/peril/master/peril-settings-json.schema",
2+
"$schema": "https://raw.githubusercontent.com/danger/peril/HEAD/peril-settings-json.schema",
33
"settings": {
44
"ignored_repos": [],
55
"env_vars": ["SLACK_WEBHOOK_URL", "GITHUB_ACCESS_TOKEN"]

.github/workflows/codeql.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches:
11+
- master
12+
- main
1113
pull_request:
1214
# The branches below must be a subset of the branches above
13-
branches: [ master ]
15+
branches:
16+
- master
17+
- main
1418
schedule:
1519
- cron: '0 17 * * 5'
1620

.github/workflows/documentation.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- main
78

89
jobs:
910

.github/workflows/post-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ jobs:
7171
os: [ubuntu-latest, macos-latest, windows-latest]
7272
runs-on: ${{ matrix.os }}
7373
steps:
74-
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "./install-golangci-lint"
74+
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b "./install-golangci-lint"

.github/workflows/pr.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- main
67
pull_request:
78

89
env:

.golangci.next.reference.yml

+93-93
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)