Sync working group project boards #23127
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: 'Sync working group project boards' | |
on: | |
schedule: | |
- cron: '0 */1 * * *' | |
jobs: | |
configs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: matrix | |
run: | | |
echo "::set-output name=matrix::$(./org/generate_working_group_projects_sync_config.sh)" | |
outputs: | |
matrix: ${{ steps.matrix.outputs.matrix }} | |
sync_projects: | |
needs: configs | |
runs-on: ubuntu-latest | |
container: | |
image: rkoster/github-multi-repo-project-card-sync | |
strategy: | |
fail-fast: false | |
matrix: | |
config: ${{ fromJson(needs.configs.outputs.matrix) }} | |
steps: | |
- name: write-config | |
run: echo '${{ toJSON(matrix.config) }}' > config.json | |
- name: github-projects-sync | |
run: /root/sync --config config.json | |
env: | |
GITHUB_APP_ID: ${{ secrets.GH_APP_ID }} | |
GITHUB_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }} |