Skip to content

Commit 9a9606c

Browse files
authored
Merge pull request #14 from younke/feat/ci-workflow-update-0
ci(workflows): minor changes
2 parents afa1013 + f830244 commit 9a9606c

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: asdf
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
8+
schedule:
9+
- cron: 0 0 * * 5
810

911
jobs:
1012
plugin_test:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: lint
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
jobs:

.github/workflows/test-mise.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: mise
22

33
on:
4-
pull_request:
54
push:
5+
branches:
6+
- master
7+
pull_request:
68
schedule:
79
- cron: 0 0 * * 5
810

lib/utils.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ get_platform() {
4141

4242
curl_opts=(-fsSL)
4343

44-
if [ -n "${GITHUB_API_TOKEN:-}" ]; then
45-
curl_opts=("${curl_opts[@]}" -H "Authorization: token $GITHUB_API_TOKEN")
44+
if [ -n "${GITHUB_TOKEN:-}" ]; then
45+
curl_opts=("${curl_opts[@]}" -H "Authorization: token $GITHUB_TOKEN")
4646
fi
4747

4848
sort_versions() {

0 commit comments

Comments
 (0)