I found the following GitHub Actions workflow in a repository
name: Test workflow
on:
push: ~
pull_request:
branches: [ dev, main ]
jobs:
...
I know ~
means null
in YAML world, but it can represent "default value" depending on where it is used.
In GitHub Action context, what does the tilde (~
) on the push event line means ? It looks like it does nothing.