File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Regenerate AWS Resources after upgrading packages
2+ on :
3+ schedule :
4+ - cron : " 30 * * * *"
5+
6+ defaults :
7+ run :
8+ working-directory : ./plugins/source/aws
9+
10+ jobs :
11+ endpoints :
12+ name : aws endpoints verification
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ with :
17+ ref : ${{ github.ref }}
18+ - name : Set up Go 1.x
19+ uses : actions/setup-go@v3
20+ with :
21+ go-version-file : plugins/source/aws/go.mod
22+ cache : true
23+ cache-dependency-path : plugins/source/aws/go.sum
24+ - name : upgrade all aws sdk packages and regenerate resources
25+ run : |
26+ go list -m all | grep github.com/aws/aws-sdk-go-v2 | awk '{print $1}' | xargs go get -u && go mod tidy && go run codegen/main.go && make gen-docs
27+ - name : Create Pull Request
28+ uses : peter-evans/create-pull-request@v4
29+ with :
30+ # required so the PR triggers workflow runs
31+ token : ${{ secrets.GH_CQ_BOT }}
32+ branch : fix/update_aws_packages
33+ base : main
34+ title : " fix(deps): Update AWS packages"
35+ commit-message : " fix(deps): Update AWS packages"
36+ body : This PR was created by a scheduled workflow to upgrade and regenerate resources
37+ author : cq-bot <cq-bot@users.noreply.github.com>
You can’t perform that action at this time.
0 commit comments