Skip to content

Commit 03f8aa0

Browse files
authored
chore: Use GitHub Action Workflows from cloudposse/.github Repo (#19)
1 parent 9ac217b commit 03f8aa0

File tree

7 files changed

+49
-152
lines changed

7 files changed

+49
-152
lines changed

.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-yaml-config-query
5+
description: Define YAML document, filter it with JSON query and get result as outputs
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/feature-branch.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
name: Feature branch
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches:
5+
- main
6+
- release/v*
57
types: [opened, synchronize, reopened]
68

9+
permissions:
10+
contents: write
11+
actions: write
12+
713
jobs:
814
perform:
915
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 }}"
16+
secrets: inherit

.github/workflows/main-branch.yaml

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

.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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Release
2+
on:
3+
release:
4+
types: [published]
5+
6+
permissions:
7+
id-token: write
8+
contents: write
9+
10+
jobs:
11+
perform:
12+
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/release.yml@main
13+
secrets: inherit

0 commit comments

Comments
 (0)