Add a current_user_can
check to our cache clearing method
#236
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 | |
- trunk | |
pull_request: | |
branches: | |
- develop | |
schedule: | |
- cron: '0 0 * * 1' | |
permissions: | |
issues: write | |
jobs: | |
wordpress-version-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: WordPress version checker | |
uses: skaut/wordpress-version-checker@master | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |