Meta file sync #2644
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: Meta file sync | |
# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#meta-file-sync | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
branches: | |
- main | |
paths: | |
- "automations/**" | |
- ".github/**" | |
jobs: | |
sync_meta: | |
name: Sync meta files | |
runs-on: ubuntu-latest | |
# Prevent running this workflow on forks, it's unnecessary for external contributors | |
if: github.repository_owner == 'WordPress' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run file sync | |
uses: BetaHuhn/repo-file-sync-action@v1 | |
with: | |
GH_PAT: ${{ secrets.ACCESS_TOKEN }} # Can't use GITHUB_TOKEN to make PRs on other repos | |
PR_LABELS: | | |
🧰 goal: internal improvement | |
🤖 aspect: dx | |
🟧 priority: high | |
🧱 stack: mgmt | |
skip-changelog |