File tree Expand file tree Collapse file tree 7 files changed +83
-0
lines changed
templates/github-action/.github/workflows Expand file tree Collapse file tree 7 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Shared terraform scheduled"
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ runs-on :
7+ description : " Overrides job runs-on setting (json-encoded list)"
8+ type : string
9+ required : false
10+ default : ' ["ubuntu-latest"]'
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : false
15+
16+ jobs :
17+ readme :
18+ uses : cloudposse-github-actions-components/.github/.github/workflows/shared-readme.yml@main
19+ with :
20+ runs-on : ${{ inputs.runs-on }}
21+ pr_labels : |
22+ auto-update
23+ readme
24+ no-release
25+ secrets : inherit
Original file line number Diff line number Diff line change 1+ ## what
2+ - Update workflows (` .github/workflows/ ` ) to use ` cloudposse-github-actions ` org workflows
3+
4+ ## why
5+ - Part of migration GHA to ` cloudposse-github-actions ` org
Original file line number Diff line number Diff line change 1+ cloudposse-github-actions/readme
2+ cloudposse-github-actions/create-branch-from-tag
3+ cloudposse-github-actions/screengrab
4+ cloudposse-github-actions/composite-template
5+ cloudposse-github-actions/screenshot
6+ cloudposse-github-actions/string-transformer
7+ cloudposse-github-actions/pr-comment-on-release
8+ cloudposse-github-actions/test-action
9+ cloudposse-github-actions/typescript-template
10+ cloudposse-github-actions/get-pr
11+ cloudposse-github-actions/install-gh-releases
12+ cloudposse-github-actions/security
13+ cloudposse-github-actions/test
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ gh repo list cloudposse-github-actions --limit 500 --json name,owner \
3+ --jq ' .[] | select(.name | test("^.github") | not) | .owner.login + "/" + .name' > repos.txt
4+
5+ split -d -l 16 repos.txt repos-
Original file line number Diff line number Diff line change 1+ cloudposse-github-actions/readme
2+ cloudposse-github-actions/create-branch-from-tag
3+ cloudposse-github-actions/screengrab
4+ cloudposse-github-actions/composite-template
5+ cloudposse-github-actions/screenshot
6+ cloudposse-github-actions/string-transformer
7+ cloudposse-github-actions/pr-comment-on-release
8+ cloudposse-github-actions/test-action
9+ cloudposse-github-actions/typescript-template
10+ cloudposse-github-actions/get-pr
11+ cloudposse-github-actions/install-gh-releases
12+ cloudposse-github-actions/security
13+ cloudposse-github-actions/test
Original file line number Diff line number Diff line change 1+ title " Adde scheduled workflow"
2+
3+ install .github/workflows/scheduled.yml
4+
5+ # Merge the PR
6+ auto_merge
Original file line number Diff line number Diff line change 1+ ---
2+ name : scheduled
3+ on :
4+ workflow_dispatch : { } # Allows manually trigger this workflow
5+ schedule :
6+ - cron : " 0 3 * * *"
7+
8+ permissions :
9+ pull-requests : write
10+ id-token : write
11+ contents : write
12+
13+ jobs :
14+ scheduled :
15+ uses : cloudposse-github-actions/.github/.github/workflows/shared-scheduled.yml@main
16+ secrets : inherit
You can’t perform that action at this time.
0 commit comments