Skip to content

Commit

Permalink
Fix releases (#3)
Browse files Browse the repository at this point in the history
* remove redundant workflow

* fix banner
  • Loading branch information
osterman authored Jan 14, 2024
1 parent d885fec commit 44ef918
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/auto-release.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ jobs:
release-controller:
runs-on: ubuntu-latest
needs: [ci-readme, ci-codeowners]
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -118,6 +124,8 @@ jobs:
publish: ${{ (github.ref_name == 'main' || github.ref_name == 'master') && !contains(steps.get-pull-request.outputs.pr_labels, 'no-release') }}
config-name: 'auto-release.yml'
commitish: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Verify release # Workaround for https://github.com/release-drafter/release-drafter/issues/1313
if: steps.check-duplicate.outputs.duplicate == 'false'
Expand Down
3 changes: 2 additions & 1 deletion profile/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Profile images are relative to the root, when served as the profile page -->
[![Banner](./banner/image.png?raw=true)](https://cpco.io/homepage)
<!-- Using absolute URL so that it works after being published as the Organization profile -->
[![Banner](https://github.com/cloudposse-github-actions/.github/blob/main/profile/banner/image.png?raw=true)](https://cpco.io/homepage)
<img src="https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse-github-actions/.github?pixel&cs=github&cm=readme&an=.github" width="0"/>

0 comments on commit 44ef918

Please sign in to comment.