Flink operator Sync #185
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: Flink operator Sync | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: "0 0 * * *" # every day at midnight | |
permissions: | |
contents: read | |
packages: write | |
concurrency: | |
group: flink-operator-sync | |
cancel-in-progress: true | |
jobs: | |
sync: | |
name: Update Flink operator | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.13.1 | |
- name: Install requests | |
run: pip install requests | |
- name: Run sync | |
run: python .github/scripts/sync.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |