Skip to content

Commit 12603af

Browse files
authored
chore: Use GitHub Action Workflows from cloudposse/.github Repo (#25)
1 parent 3dc818b commit 12603af

File tree

9 files changed

+58
-227
lines changed

9 files changed

+58
-227
lines changed

.github/auto-release.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/configs/draft-release.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/settings.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Upstream changes from _extends are only recognized when modifications are made to this file in the default branch.
2+
_extends: .github
3+
repository:
4+
name: github-action-atmos-terraform-select-components
5+
description: GitHub Action that output list of Atmos components by jq query
6+
homepage: https://cloudposse.com/accelerate
7+
topics: ""

.github/workflows/auto-readme.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.github/workflows/auto-release.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/feature-branch.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
name: Feature branch
1+
---
2+
name: feature-branch
23
on:
34
pull_request:
4-
branches: [ main ]
5-
types: [opened, synchronize, reopened]
5+
branches:
6+
- main
7+
- release/**
8+
types: [opened, synchronize, reopened, labeled, unlabeled]
9+
10+
permissions:
11+
pull-requests: write
12+
id-token: write
13+
contents: write
14+
issues: write
615

716
jobs:
8-
perform:
9-
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/feature-branch.yml@main
10-
with:
11-
organization: "${{ github.event.repository.owner.login }}"
12-
repository: "${{ github.event.repository.name }}"
13-
ref: "${{ github.event.pull_request.head.ref }}"
14-
secrets:
15-
github-private-actions-pat: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
17+
terraform-module:
18+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch.yml@main
19+
secrets: inherit

.github/workflows/main-branch.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/release-branch.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: release-branch
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release/v*
8+
paths-ignore:
9+
- '.github/**'
10+
- 'docs/**'
11+
- 'examples/**'
12+
- 'test/**'
13+
- 'README.md'
14+
15+
permissions: {}
16+
17+
jobs:
18+
terraform-module:
19+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@main
20+
secrets: inherit

.github/workflows/scheduled.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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-workflows-terraform-module/.github/workflows/scheduled.yml@main
16+
secrets: inherit

0 commit comments

Comments
 (0)