Skip to content

dep: update module code.gitea.io/sdk/gitea to v0.16.0 #412

dep: update module code.gitea.io/sdk/gitea to v0.16.0

dep: update module code.gitea.io/sdk/gitea to v0.16.0 #412

Workflow file for this run

on:
push:
branches:
- master
name: release
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/[email protected]
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
package-name: multi-gitter
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"dep","section":"Dependencies","hidden":false}]'
- uses: actions/checkout@v3
with:
fetch-depth: 0
if: ${{ steps.release.outputs.release_created }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "^1.16.0"
if: ${{ steps.release.outputs.release_created }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GENERAL_GITHUB_SECRET }} # The tokens needs access to another repo, so the secret.GITHUB_SECRET won't suffice
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} # Gemfury token
if: ${{ steps.release.outputs.release_created }}
- name: Comment on prs and issues
uses: apexskier/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
comment-template:
Included in release {release_link} 🎉
skip-label: "autorelease: tagged,autorelease: pending"
if: ${{ steps.release.outputs.release_created }}