-
Notifications
You must be signed in to change notification settings - Fork 1
GitHub Actions Bug: Workflows Cannot be Re-Run #28
Comments
I haven't looked at specifically what your documentation lookups are, but most if not all of the AWS Docs should be mirrored in GitHub repos now[1], rendered in MarkDown. It might be simpler to pull those in as submodules and do whatever lookups you need locally. |
@mattsb42-aws I originally relied on the GitHub source when I was doing some module code and help doc generation, but ran into errors. Right now the repository uses both the GitHub repo documentation source and the live documentation of the AWS CloudFormation User Guide because of the problems between the two that I have run into in the past, and realized I could create audit tools around:
More in-depth conversation around this can be found here: GitHub AWS CFN User Guide Mirror: #428, which details what led up to the documentation auditing. Below is a snapshot of the defined problem types I ran into, helping describe the problems seen in generated data found in BrokenDocLinks
Example IAWS live documentation endpoint link is incorrect, redirecting to the Welcome page. "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": {
"Broken": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-group-mixedinstancespolicy.html",
"Fix": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html",
"Problem": "URL in CloudFormationResourceSpecification.json needs to update with the Fix key value.",
"DiscoveredInVersion": "5.1.0",
"DateOfDiscovery": "2019-08-09"
} Example IIAWS live documentation endpoint doesn't exist, redirecting to the Welcome page. "AWS::CodePipeline::CustomActionType.ArtifactDetails": {
"Broken": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html",
"Fix": null,
"Problem": "AWS Doc html page is broken, with this page unreachable and redirecting to UserGuide home.",
"DiscoveredInVersion": "5.3.0",
"DateOfDiscovery": "2019-08-23"
} MissingDocLinks
ExampleExists in the live documentation, but a documentation link is missing in the spec file. "AWS::Transfer::User.SshPublicKey": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-sshpublickey.html",
"DiscoveredInVersion": "5.3.0",
"DateOfDiscovery": "2019-08-23"
} MissingFromAWSGitHubSourceRepo
ExampleExists, in live documentation but doesn't in the GitHub mirror. "AWS::EFS::FileSystem.LifecyclePolicy": {
"Broken": "https://github.com/awsdocs/aws-cloudformation-user-guide/tree/master/doc_source/aws-properties-elasticfilesystem-filesystem-lifecyclepolicy.md",
"Problem": "Missing from GitHub repo.",
"DateOfDiscovery": "2019-06-13"
} NOTE: With many of these issues being discovered due to the |
Two problems exist:
In order to reduce the blast radius of this step failing, I need to silo it out. In the meantime, I will have weird workflow modifications based on PUSH just so that I can force GitHub Action executions outside of cron.
The text was updated successfully, but these errors were encountered: