From 6dfc89df3dc601df251a053e27fe6d806342b169 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 23 Sep 2025 10:08:09 -0400 Subject: [PATCH] Removing trigger for DAG config check. --- .gitea/workflows/dag-config-check.yml | 37 +++++++++++++-------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/dag-config-check.yml b/.gitea/workflows/dag-config-check.yml index 5bad526..b98d6b9 100644 --- a/.gitea/workflows/dag-config-check.yml +++ b/.gitea/workflows/dag-config-check.yml @@ -4,8 +4,7 @@ on: workflow_dispatch: push: paths: - - 'app-configs/rinoa/dagu/dags/**' - - '**/dag-config-check.yml' + - "app-configs/rinoa/dagu/dags/**" branches-ignore: - main @@ -25,10 +24,10 @@ jobs: - name: Gotify Notification uses: eikendev/gotify-action@master with: - gotify_api_base: '${{ secrets.GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Dagu Validation' - notification_message: 'Setting up Ansible and Vault... 🏗️' + gotify_api_base: "${{ secrets.GOTIFY_URL }}" + gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}" + notification_title: "GITEA: Dagu Validation" + notification_message: "Setting up Ansible and Vault... 🏗️" - name: Install Ansible uses: alex-oleshkevich/setup-ansible@v1.0.1 @@ -62,10 +61,10 @@ jobs: - name: Gotify Notification uses: eikendev/gotify-action@master with: - gotify_api_base: '${{ secrets.GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Dagu Validation' - notification_message: 'Ansible and Vault setups completed, starting Dagu validation... 🔬' + gotify_api_base: "${{ secrets.GOTIFY_URL }}" + gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}" + notification_title: "GITEA: Dagu Validation" + notification_message: "Ansible and Vault setups completed, starting Dagu validation... 🔬" - name: Install dagu run: | @@ -91,19 +90,19 @@ jobs: if: steps.validate-dags.outputs.exit_code == '0' uses: eikendev/gotify-action@master with: - gotify_api_base: '${{ secrets.GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Dagu Validation' - notification_message: 'Dagu DAG validation passed! 🏁' + gotify_api_base: "${{ secrets.GOTIFY_URL }}" + gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}" + notification_title: "GITEA: Dagu Validation" + notification_message: "Dagu DAG validation passed! 🏁" - name: Gotify Notification if: steps.validate-dags.outputs.exit_code != '0' uses: eikendev/gotify-action@master with: - gotify_api_base: '${{ secrets.GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Dagu Validation' - notification_message: 'Dagu DAG validation failed! 🚫' + gotify_api_base: "${{ secrets.GOTIFY_URL }}" + gotify_app_token: "${{ secrets.RUNNER_GOTIFY_TOKEN }}" + notification_title: "GITEA: Dagu Validation" + notification_message: "Dagu DAG validation failed! 🚫" - name: Trigger Tar Valon Ansible Deploy run: | @@ -112,4 +111,4 @@ jobs: -H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \ -H "Content-Type: application/json" \ "https://git.trez.wtf/api/v1/repos/Trez/tar-valon-ansible/actions/workflows/gitea_tar-valon_ansible_deploy.yml/dispatches" \ - -d "{\"ref\":\"${BRANCH}\"}" \ No newline at end of file + -d "{\"ref\":\"${BRANCH}\"}"