Commit Graph

19 Commits

Author SHA1 Message Date
Yihau Chen 17369dc8f0
ci: extract vercel scope as an env (#30441) 2023-02-23 11:58:08 +08:00
Illia Bobyr 6fb4716e48
ci: Do not produce build artifacts when run in a fork (#30294)
If someone forks the `solana` repo, they should not have access to Slack
or AWS storage locations that hold build artifacts.  Meaning, actions
that interact with that infrastructure will always fail.  It makes sense
to disable these actions in forks.
2023-02-14 00:31:44 -08:00
Yihau Chen e7838768ec
ci: fix commit range in push event (#29755)
* fix commit range

* use github.event.before instead of HEAD~1
2023-01-19 12:28:00 +08:00
Yihau Chen f339854504
chore: fix wrong name for GITHUB_SHA (#29162) 2022-12-09 14:28:09 +08:00
Yihau Chen be8396040b
ci: make docs job name more explicit (#29072)
make docs job name more clear
2022-12-06 11:29:05 +08:00
Yihau Chen a665d679cc
Merge pull request from GHSA-cq9g-c286-6ch7
* create a reusable workflow for current error reporting logic

* make github.event.head_commit.message as a env, COMMIT_MESSAGE

* make github.event.head_commit.author.name as a env, COMMIT_AUTHOR_NAME

* remove redundant name

* replace error reporting step with the reusalble workflow
2022-11-30 00:58:42 +08:00
Yihau Chen 4c2733485a
ci: rewrite Github Actions slack error reporting (#28904) 2022-11-21 11:22:00 +00:00
Yihau Chen cbf224ad5c
ci: refactor docs pipeline (#28852)
* use git diff + grep to get affected files

* combine check and combine steps

* separate jobs

* fix condition
2022-11-18 03:31:07 +00:00
Yihau Chen 50d811653a
chore: bump tj-actions/changed-files to v34 (#28674) 2022-10-29 15:07:59 +00:00
Yihau Chen c7cf598582
chore: use >> $GITHUB_OUTPUT instead of ::set-output (#28608) 2022-10-29 13:23:16 +08:00
Yihau Chen 9fe46bb038
chore: send slack notification when Github Action fails (#28310)
chore: send slack notification when github action fails
2022-10-12 15:52:00 +08:00
Jon Cinque 0aea2da091
docs: Update node build version to v16 (#28264) 2022-10-06 19:25:18 +02:00
Yihau Chen 6eeff08b15
chore: fix docs pipeline (#27794)
* trigger docs build when .github/workflows/docs.yml changed

* echo tag info

* echo channel info

* echo any changes info

* bump tj-actions/changed-files@v29.0.7

* fix variable name

* fix broken link
2022-09-15 14:50:59 +08:00
Yihau Chen 79df1954eb
chore: fix docs pipeline (#25504)
* chore: change trigger rule

* chore: check tag and file modifed
2022-05-24 11:55:28 +08:00
Yihau Chen 671775a244
chore: add missing VERCEL_TOKEN (#25079)
* chore: add missing VERCEL_TOKEN

* chore: add a newline to trigger docs build
2022-05-09 11:29:36 +08:00
yihau f3e916566f chore: fix mergify docs status label 2022-05-06 14:42:05 +08:00
steviez c895ad6b41
Make workflow not fail if no doc files changed (#25033) 2022-05-06 01:32:38 -05:00
yihau c491def895 chore: add push paths restriction in docs pipeline 2022-05-06 12:18:51 +08:00
Yihau Chen 0e3fc9d31c
chore: add docs actions (#25029)
* chore: mv .travis/* ci/

* chore: add docs action

* chore: update mergify
2022-05-06 12:14:50 +08:00