Merge pull request #572 from 88labs/dependabot/go_modules/aws/depende… #891
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
name: Release Drafter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
steps: | |
# (Optional) GitHub Enterprise requires GHE_HOST variable set | |
#- name: Set GHE_HOST | |
# run: | | |
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
aws: | |
- 'aws/**' | |
cerrors: | |
- 'cerrors/**' | |
envlookup: | |
- 'envlookup/**' | |
errgroup: | |
- 'errgroup/**' | |
osext: | |
- 'osext/**' | |
sql-escape: | |
- 'sql-escape/**' | |
tspb_cast: | |
- 'tspb_cast/**' | |
ulid: | |
- 'ulid/**' | |
utf8bom: | |
- 'utf8bom/**' | |
hashutil: | |
- 'hashutil/**' | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.aws == 'true' | |
with: | |
config-name: release-drafter-aws.yml | |
name: aws/v$RESOLVED_VERSION | |
tag: aws/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.cerrors == 'true' | |
with: | |
config-name: release-drafter-cerrors.yml | |
name: cerrors/v$RESOLVED_VERSION | |
tag: cerrors/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.envlookup == 'true' | |
with: | |
config-name: release-drafter-envlookup.yml | |
name: envlookup/v$RESOLVED_VERSION | |
tag: envlookup/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.errgroup == 'true' | |
with: | |
config-name: release-drafter-errgroup.yml | |
name: errgroup/v$RESOLVED_VERSION | |
tag: errgroup/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.osext == 'true' | |
with: | |
config-name: release-drafter-osext.yml | |
name: osext/v$RESOLVED_VERSION | |
tag: osext/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.sql-escape == 'true' | |
with: | |
config-name: release-drafter-sql-escape.yml | |
name: sql-escape/v$RESOLVED_VERSION | |
tag: sql-escape/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.tspb_cast == 'true' | |
with: | |
config-name: release-drafter-tspb_cast.yml | |
name: tspb_cast/v$RESOLVED_VERSION | |
tag: tspb_cast/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.ulid == 'true' | |
with: | |
config-name: release-drafter-ulid.yml | |
name: ulid/v$RESOLVED_VERSION | |
tag: ulid/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.utf8bom == 'true' | |
with: | |
config-name: release-drafter-utf8bom.yml | |
name: utf8bom/v$RESOLVED_VERSION | |
tag: utf8bom/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.changes.outputs.hashutil == 'true' | |
with: | |
config-name: release-drafter-hashutil.yml | |
name: hashutil/v$RESOLVED_VERSION | |
tag: hashutil/v$RESOLVED_VERSION | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |