Github actions: Difference between revisions
From wikinotes
No edit summary |
|||
Line 24: | Line 24: | ||
-H "Authorization: Bearer ${OAUTH_TOKEN}" \ | -H "Authorization: Bearer ${OAUTH_TOKEN}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/ShopifyFRS/bourgeois/events | bat -l json | 'https://api.github.com/repos/ShopifyFRS/bourgeois/events?page=1&per_page=100' | bat -l json | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- troubleshooting --> | </blockquote><!-- troubleshooting --> |
Revision as of 14:16, 15 September 2023
Github actions let you subscribe to events and run server jobs.
Documentation
official docs https://docs.github.com/en/actions community actions https://github.com/marketplace?type=actions events triggering workflows ( on: ${event}
)https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows expression syntax https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions
Troubleshooting
# list all webhook events (ex. pull_request) on repository curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${OAUTH_TOKEN}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ 'https://api.github.com/repos/ShopifyFRS/bourgeois/events?page=1&per_page=100' | bat -l json