Skip to content

Commit d2f4d92

Browse files
committed
fix outdated URLs in readme docs of code generation scripts
1 parent 99faef7 commit d2f4d92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/generate-availability/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is a script for generating [`availability.go`](../../availability.go).
55

66
It does:
77

8-
1. Fetch [the official contexts document](https://github.com/github/docs/blob/main/content/actions/learn-github-actions/contexts.md)
8+
1. Fetch [the official contexts document](https://raw.githubusercontent.com/github/docs/main/content/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs.md)
99
2. Parse the markdown file and find "Context availability" table
1010
3. Extract contexts and special functions from the table
1111
4. Generate Go function and variable to map from workflow keys to available contexts and special functions

scripts/generate-webhook-events/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is a script for generating [`all_webhooks.go`](../../all_webhooks.go).
55

66
It does:
77

8-
1. Fetch [the official markdown document](https://raw.githubusercontent.com/github/docs/main/content/actions/using-workflows/events-that-trigger-workflows.md)
8+
1. Fetch [the official markdown document](https://raw.githubusercontent.com/github/docs/main/content/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows.md)
99
2. Parse the markdown file and find Webhook names and their types from tables
1010
3. Generate mappings from Webhook names to their types as Go map variable
1111

0 commit comments

Comments
 (0)