forked from awslabs/goformation
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from pnwcode/merge-latest-upstream
Merge latest upstream
- Loading branch information
Showing
55 changed files
with
5,442 additions
and
873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
name: Update Schema | ||
|
||
on: | ||
on: | ||
# Update goformation from the CloudFormation Resource Specification daily | ||
schedule: | ||
- cron: '0 0 * * *' | ||
# Also allow manual execution from the GitHub Actions page | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
run: | ||
|
@@ -15,8 +18,34 @@ jobs: | |
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v1 | ||
|
||
- name: Update Schema | ||
run: ./generate/create-pull-request.sh | ||
run: | | ||
echo 'GENERATE_OUTPUT<<EOF' >> $GITHUB_ENV | ||
echo 'This pull request was automatically generated, and includes updates to goformation based on new or updated resources in the [AWS CloudFormation Resource Specification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html).' >> $GITHUB_ENV | ||
echo '' >> $GITHUB_ENV | ||
echo 'Below is the output from `go generate`:' >> $GITHUB_ENV | ||
echo '' >> $GITHUB_ENV | ||
echo '```' >> $GITHUB_ENV | ||
go generate | tee -a $GITHUB_ENV | ||
echo '```' >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- name: Run Tests | ||
run: go test ./... | ||
|
||
- name: Generate Pull Request | ||
uses: peter-evans/create-pull-request@c7f493a8000b8aeb17a1332e326ba76b57cb83eb | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
title: "CloudFormation Updates" | ||
body: ${{ env.GENERATE_OUTPUT }} | ||
commit-message: "fix(schema): CloudFormation Updates" | ||
base: master | ||
branch: auto-schema-update | ||
delete-branch: true | ||
committer: "Paul Maddox <[email protected]>" | ||
author: "Paul Maddox <[email protected]>" | ||
assignees: PaulMaddox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# AWS GoFormation logo information | ||
|
||
The AWS GoFormation logo is a custom work, based on the following artworks/assets: | ||
|
||
* [Go gopher app engine color](https://commons.wikimedia.org/wiki/File:Go_gopher_app_engine_color.jpg) logo, created by [Renee French](http://reneefrench.blogspot.com/) and modified by [Pelayo Sanchez](https://github.com/pesama). Original work licensed under Creative Commons [Attribution-Share Alike 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/deed.en) license. | ||
|
||
* [Sallita](https://www.dafont.com/es/sallita.font?l[]=10&l[]=1) font used for `goformation` text, shared by Amarlettering with free license. | ||
|
||
* AWS CloudFormation logo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.