Skip to content

Commit

Permalink
[redis] Update common files for branch master
Browse files Browse the repository at this point in the history
  • Loading branch information
micronaut-build committed Jun 25, 2020
1 parent f8604a8 commit ef0b842
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependency-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GH_TOKEN }}
committer: GitHub <[email protected]>
author: micronaut-build <[email protected]>
committer: micronaut-build <${{ secrets.MICRONAUT_BUILD_EMAIL }}>
author: micronaut-build <${{ secrets.MICRONAUT_BUILD_EMAIL }}>
commit-message: Update dependencies
title: 'Dependency upgrades'
body: Upgrades dependencies to their latest versions
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# https://github.com/micronaut-projects/micronaut-project-template/tree/master/.github/workflows
#
# and edit them there. Note that it will be sync'ed to all the Micronaut repos
name: Release Notes
name: Changelog
on:
pull_request:
types: [closed, labeled]
types: closed
branches:
- master
- '[1-9]+.[0-9]+.x'
issues:
types: [closed,reopened, labeled]
types: [closed,reopened]
push:
branches:
- master
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: release-drafter/release-drafter@v5
if: steps.check_release_drafter.outputs.has_release_drafter == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

# Otherwise:
- name: Export Gradle Properties
Expand All @@ -43,6 +43,7 @@ jobs:
if: steps.check_release_drafter.outputs.has_release_drafter == 'false'
id: release_notes
with:
token: ${{ secrets.GH_TOKEN }}
branch: ${{ env.githubBranch }}
- uses: ncipollo/release-action@v1
if: steps.check_release_drafter.outputs.has_release_drafter == 'false'
Expand All @@ -53,4 +54,4 @@ jobs:
name: ${{ env.title }} ${{ steps.release_notes.outputs.next_version }}
tag: v${{ steps.release_notes.outputs.next_version }}
bodyFile: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GH_TOKEN }}
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
run: echo ::set-output name=release_version::${GITHUB_REF:11}
- name: Run pre-release
uses: micronaut-projects/github-actions/pre-release@master
env:
MICRONAUT_BUILD_EMAIL: ${{ secrets.MICRONAUT_BUILD_EMAIL }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Bintray
Expand Down Expand Up @@ -52,11 +54,15 @@ jobs:
continue-on-error: true
- name: Update BOM
uses: micronaut-projects/github-actions/update-bom@master
env:
MICRONAUT_BUILD_EMAIL: ${{ secrets.MICRONAUT_BUILD_EMAIL }}
with:
token: ${{ secrets.GH_TOKEN }}
continue-on-error: true
- name: Run post-release
if: success()
uses: micronaut-projects/github-actions/post-release@master
env:
MICRONAUT_BUILD_EMAIL: ${{ secrets.MICRONAUT_BUILD_EMAIL }}
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ef0b842

Please sign in to comment.