Skip to content

Commit b8c38d0

Browse files
authored
chore: Use GitHub Action Workflows from cloudposse/.github Repo (#47)
1 parent ed06cf3 commit b8c38d0

File tree

7 files changed

+45
-160
lines changed

7 files changed

+45
-160
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-matrix-outputs-write
5+
description: Workaround implementation - Write matrix jobs outputs
6+
homepage: https://github.com/community/community/discussions/17245#discussioncomment-3814009
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: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
name: Major Release Tagger
2-
1+
name: Release
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)