Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub Action Workflows from cloudposse/.github Repo #24

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions .github/configs/draft-release.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/settings.yml
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-secret-outputs
description: Allow to pass a secret or masked variable between jobs in GitHub Actions using outputs.
homepage: https://cloudposse.com/accelerate
topics: ""
75 changes: 0 additions & 75 deletions .github/workflows/auto-readme.yml

This file was deleted.

15 changes: 8 additions & 7 deletions .github/workflows/feature-branch.yml
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
16 changes: 0 additions & 16 deletions .github/workflows/main-branch.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/main-branch.yml
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
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
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
Loading