Skip to content

Hello World Workflow #2934

Hello World Workflow

Hello World Workflow #2934

---
name: Hello World Workflow
on:
schedule:
- cron: '*/10 * * * *' # Runs every 10 minutes
push:
branches:
- main
pull_request:
branches:
- main
jobs:
hello-world:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v3
with:
application_id: ${{ secrets.GH_APP_WAVELO_APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_GITHUB_APP_WAVELO_PRIVATE_KEY }}
revoke_token: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run wavelo-config-setting.py script
run: python scripts/wavelo-config-setting.py ${{ steps.get_workflow_token.outputs.token }}