Skip to content

Commit

Permalink
chore: Use GitHub Action Workflows from cloudposse/.github Repo (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored May 8, 2024
1 parent 77cb531 commit 4ecdc2b
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 153 deletions.
53 changes: 0 additions & 53 deletions .github/auto-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-setup-atmos
description: A GitHub Actions that installs the Atmos CLI
homepage: https://cloudposse.com/accelerate
topics: ""
75 changes: 0 additions & 75 deletions .github/workflows/auto-readme.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/auto-release.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/feature-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Feature branch
on:
pull_request:
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
secrets: inherit
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
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Release

on:
release:
types:
- published
types: [published]

permissions:
id-token: write
contents: write

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

0 comments on commit 4ecdc2b

Please sign in to comment.