on:
push:
branches:
- main
- 'releases/**'
The above is from the documents here: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#using-filters
Is it possible to include env in this area? And example like the following:
on:
push:
branches:
- main
env: // <-- this
TOKEN: token-on-push-on-main
pull_request:
branches:
- main
env: // <-- and this
TOKEN: token-on-pull-request-on-main