new calendar endpoints | part 2/4 | endpoint base #1141
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "WordPress Version Checker" | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
schedule: | |
- cron: '0 0 * * 1' | |
permissions: | |
issues: write | |
jobs: | |
wordpress-version-checker: | |
# Prevent this workflow to run on forks outside of the GatherPress organization, | |
# because the required permission to create an issue would not be given and the workflow would fail. | |
# Using a condition check will skip the test. | |
if: github.repository_owner == 'GatherPress' | |
runs-on: ubuntu-latest | |
steps: | |
- name: WordPress Version Checker | |
uses: skaut/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |