puppetlabs / cat-github-actions

1 stars 4 forks source link

workflow fixes and improvements #88

Closed h0tw1r3 closed 2 months ago

h0tw1r3 commented 2 months ago

Workflows currently generate a lot of unnecessary action noise on forked repos.

h0tw1r3 commented 2 months ago

Tested on the puppetlabs-mysql module: https://github.com/puppetlabs/puppetlabs-mysql/pull/1629

h0tw1r3 commented 2 months ago

Tested on puppetlabs-puppetdb, published a previously tagged but unreleased version to the forge: https://github.com/puppetlabs/puppetlabs-puppetdb/actions/runs/8986861110

h0tw1r3 commented 2 months ago

Release made by workflow with updated release notes format: https://github.com/puppetlabs/puppetlabs-puppetdb/releases/tag/v8.1.0

h0tw1r3 commented 2 months ago

New annotated tag example:

current

git show v8.0.1
commit 99cbeead2f7a2b2772ca59264121927e7416b1e2 (tag: v8.0.1)
Merge: 94ccecb 6fcd9cb
Author: Jeffrey Clark <h0tw1r3@users.noreply.github.com>
Date:   Thu May 2 17:55:15 2024 -0500

    Merge pull request #403 from puppetlabs/release-prep

    Release prep v8.0.1

new

$ git show v8.1.0
tag v8.1.0
Tagger: GitHub Actions <puppetlabs@users.noreply.github.com>
Date:   Tue May 7 09:17:06 2024 -0500

- Add a  fact with PuppetDB version #404 @rwaffen
- Restrict configuration file permissions #343 @smortex
- Hide passwords from output #320 @gfa

- set encoding when creating the DB #359 @elfranne
- cron puppetdb-dlo-cleanup requires package #321 @glennaaldering

commit 0a934def95f46512d696ba4b9b0cee305fd4fe4d (HEAD -> main, tag: v8.1.0, upstream/main, origin/main, origin/HEAD)
Merge: dc991dc 335284c
Author: Jeffrey Clark <h0tw1r3@users.noreply.github.com>
Date:   Tue May 7 09:17:06 2024 -0500

    Merge pull request #405 from puppetlabs/release-prep

    Release prep v8.1.0
h0tw1r3 commented 2 months ago

Re-tagging workflow option with new release notes:

before workflow run

image

after workflow run

image