-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use GitHub Action Workflows from
cloudposse/.github
Repo (#28)
- Loading branch information
Showing
7 changed files
with
49 additions
and
152 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Upstream changes from _extends are only recognized when modifications are made to this file in the default branch. | ||
_extends: .github | ||
repository: | ||
name: github-action-preview-environment-controller | ||
description: Github action to manage deploy/undeploy for preview environments depends of PR labels | ||
homepage: https://cloudposse.com/accelerate | ||
topics: "" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
name: Feature branch | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
branches: | ||
- main | ||
- release/v* | ||
types: [opened, synchronize, reopened] | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
|
||
jobs: | ||
perform: | ||
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/feature-branch.yml@main | ||
with: | ||
organization: "${{ github.event.repository.owner.login }}" | ||
repository: "${{ github.event.repository.name }}" | ||
ref: "${{ github.event.pull_request.head.ref }}" | ||
secrets: | ||
github-private-actions-pat: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}" | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Main branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/v* | ||
paths-ignore: | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'examples/**' | ||
- 'test/**' | ||
- 'README.md' | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
|
||
jobs: | ||
perform: | ||
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/main-branch.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Release | ||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
jobs: | ||
perform: | ||
uses: cloudposse/github-actions-workflows-github-action-composite/.github/workflows/release.yml@main | ||
secrets: inherit |