chore: Add a crate swc_typescript
(#9085)
#9743
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bot | |
env: | |
# https://github.com/actions/setup-node/issues/899#issuecomment-1819151595 | |
SKIP_YARN_COREPACK_CHECK: 1 | |
on: | |
push: | |
branches: | |
- main | |
- bot | |
workflow_dispatch: | |
jobs: | |
invoke: | |
# Due to caching issue, actually logic lives at | |
# https://github.com/swc-project/bot | |
name: Start | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/orgs/community/discussions/26323 | |
- name: "Invoke bot on swc-project/bot" | |
run: | | |
curl -XPOST -u "swc-bot:${{secrets.BOT_GH_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/swc-project/bot/dispatches --data '{"event_type": "run_bot"}' |