From 4b9d110eb02ad7d763960fdfbc0b09a4e157805a Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Mon, 11 Nov 2024 23:20:25 +0100 Subject: [PATCH 1/3] ci: enable publish step in tofu-mixin workflow - Uncomment publish job steps in GitHub Actions workflow - Publish step runs on successful builds for non-PR events - Uses PUBLISH_TOKEN secret for GitHub authentication Signed-off-by: Kim Christensen --- .github/workflows/tofu-mixin.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tofu-mixin.yml b/.github/workflows/tofu-mixin.yml index ce6af39..1dc480c 100644 --- a/.github/workflows/tofu-mixin.yml +++ b/.github/workflows/tofu-mixin.yml @@ -25,8 +25,8 @@ jobs: run: mage Test - name: Cross Compile run: mage XBuildAll -# - name: Publish -# if: success() && github.event_name != 'PullRequest' -# env: -# GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}" -# run: mage Publish \ No newline at end of file + - name: Publish + if: success() && github.event_name != 'PullRequest' + env: + GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}" + run: mage Publish \ No newline at end of file From f49e251c049c35919e786d5d2cad1f75996d43e4 Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Mon, 11 Nov 2024 23:22:51 +0100 Subject: [PATCH 2/3] chore: Add CODEOWNERS Signed-off-by: Kim Christensen --- .github/CODEOWNERS | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..e7acaf1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# https://help.github.com/en/articles/about-code-owners#codeowners-syntax +# Add your name to this file if you want to be automatically assign to pull requests +# See OWNERS.md for a list of all maintainers + +* @getporter/maintainers \ No newline at end of file From b8a28e4857c40dbd9b984166e5e5726336fdd747 Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Mon, 9 Dec 2024 23:24:42 +0100 Subject: [PATCH 3/3] feat(workflows): add tag triggers for mixin workflow - Add version tags (v*) as workflow triggers - Exclude canary and latest tags from triggering workflow Signed-off-by: Kim Christensen --- .github/workflows/tofu-mixin.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tofu-mixin.yml b/.github/workflows/tofu-mixin.yml index 1dc480c..bc9f792 100644 --- a/.github/workflows/tofu-mixin.yml +++ b/.github/workflows/tofu-mixin.yml @@ -4,6 +4,10 @@ on: branches: - main - v* + tags: + - v* + - "!canary*" + - "!latest*" pull_request: branches: - main