I have created the following GitHub Actions workflow.
name: Testing CI
on:
push:
branches: [ my-branch ]
Here in branches: [my-branch]
I am putting the name of the current branch.
But I want the workflow file to automatically take the name of the current branch.
Is there a parameter I can pass branches: [my-branch]
here to automatically take the branch name?