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
|
2021-10-14 13:57:30 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 8,20 * * *'
|
2022-12-06 17:59:40 +00:00
|
|
|
workflow_dispatch:
|
2021-10-14 13:57:30 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-09-01 19:05:11 +00:00
|
|
|
- main
|
2021-10-14 13:57:30 +00:00
|
|
|
paths:
|
2021-09-15 10:58:37 +00:00
|
|
|
- 'versions-manifest.json'
|
2021-10-14 13:57:30 +00:00
|
|
|
|
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
|