mirror of
https://github.com/actions/go-versions
synced 2024-11-14 01:22:38 +00:00
21 lines
No EOL
586 B
YAML
21 lines
No EOL
586 B
YAML
name: Validate manifest
|
|
on:
|
|
# The GITHUB_TOKEN secret is used to create a PR
|
|
# The pull_request event will not be triggered by it
|
|
# That's one of the reasons we need the schedule to validate the versions-manifest.json file
|
|
schedule:
|
|
- cron: '0 8,20 * * *'
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'versions-manifest.json'
|
|
|
|
jobs:
|
|
manifest:
|
|
uses: actions/versions-package-tools/.github/workflows/validate-manifest.yml@main
|
|
with:
|
|
tool-name: "Go"
|
|
image-url: "https://go.dev/images/gopher-footer.jpg"
|
|
secrets: inherit |