go-versions/.github/workflows/validate-manifest.yml

21 lines
586 B
YAML
Raw Normal View History

2021-09-01 19:05:11 +00:00
name: Validate manifest
on:
2022-12-06 17:59:40 +00:00
# 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 * * *'
2022-12-06 17:59:40 +00:00
workflow_dispatch:
pull_request:
branches:
2021-09-01 19:05:11 +00:00
- main
paths:
2021-09-15 10:58:37 +00:00
- 'versions-manifest.json'
2021-09-01 19:05:11 +00:00
jobs:
2022-12-06 17:59:40 +00:00
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