Skip to content

Commit

Permalink
chore: update release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
tchupp committed Aug 3, 2023
1 parent bd77a7f commit 6f39937
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ version-resolver:
major:
labels:
- 'major'
- 'breaking'
minor:
labels:
- 'minor'
- 'feature'
patch:
labels:
- 'patch'
- 'docs'
- 'chore'
- 'fix'
default: 'patch'
autolabeler:
- label: 'docs'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
disable-releaser: github.ref != 'refs/heads/main'
disable-releaser: ${{ github.ref != 'refs/heads/main' }}
publish: ${{ github.ref == 'refs/heads/main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Dependencies
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
changed: ${{ steps.detect.outputs.changed }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Detect Terraform Changes
uses: ./
Expand All @@ -42,7 +42,6 @@ jobs:
- name: Echo Changes
run: |
echo "${{ steps.detect.outputs.changed }}"
# echo "${{ fromJSON(steps.detect.outputs.changed) }}"
echo-test:
name: "Echo Test"
Expand Down

0 comments on commit 6f39937

Please sign in to comment.