Skip to content

Commit 4ecdc2b

Browse files
authored
chore: Use GitHub Action Workflows from cloudposse/.github Repo (#84)
1 parent 77cb531 commit 4ecdc2b

File tree

7 files changed

+52
-153
lines changed

7 files changed

+52
-153
lines changed

.github/auto-release.yml

Lines changed: 0 additions & 53 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-setup-atmos
5+
description: A GitHub Actions that installs the Atmos CLI
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.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Feature branch
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- release/v*
7+
types: [opened, synchronize, reopened]
8+
9+
permissions:
10+
contents: write
11+
actions: write
12+
13+
jobs:
14+
perform:
15+
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/feature-branch.yml@main
16+
secrets: inherit

.github/workflows/main-branch.yml

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

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Release
2-
32
on:
43
release:
5-
types:
6-
- published
4+
types: [published]
5+
6+
permissions:
7+
id-token: write
8+
contents: write
79

810
jobs:
9-
publish:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: cloudposse/github-action-major-release-tagger@v1
11+
perform:
12+
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/release.yml@main
13+
secrets: inherit

0 commit comments

Comments
 (0)