Skip to content

ci: move webhookUrl from release.yml to main.yml #125

ci: move webhookUrl from release.yml to main.yml

ci: move webhookUrl from release.yml to main.yml #125

Workflow file for this run

name: Main

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

(Line: 42, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.KESTRA_WEBHOOK_URL_PLUGIN_RELEASE_INDEX
on:
schedule:
- cron: '0 4 * * 1,2,3,4,5'
push:
branches:
- master
- main
- releases/*
tags:
- v*
pull_request:
branches:
- master
- main
- releases/*
workflow_dispatch:
inputs:
skip-test:
description: 'Skip test'
type: choice
required: true
default: 'false'
options:
- "true"
- "false"
permissions:
contents: write
checks: write
actions: read
pull-requests: write
packages: read
jobs:
check:
uses: kestra-io/actions/.github/workflows/plugins.yml@main
with:
webhookUrl: ${{ secrets.KESTRA_WEBHOOK_URL_PLUGIN_RELEASE_INDEX }}
skip-test: ${{ github.event.inputs.skip-test == 'true' }}
secrets: inherit