I have an GitHub organization with free-to-use plan. I want to reuse some of the workflows in every repository. Thus I created a public repository in the organization named .github
. I added this workflow for example:
name: PR Title Checker
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Debug Message
run: echo "Workflow is running..."
- name: PR Title Checker
uses: thehanimo/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
configuration_path: .github/pr-title-checker-config.json
I expected to see this running whenever I create a pull request on any other repositories in the organization. Isn’t that how it supposed to work?
For another example, I added a pull_request_template.md
file into the .github
repository and I’m able to see that pull request template when I try to create a PR on my other repository.
I checked the Actions Settings in the Organization Settings and they’re all enabled.
Any ideas?