From 85b93562fac7d41aa55cf28cebc3ed960c87c9dc Mon Sep 17 00:00:00 2001 From: Glen Goulter <37945000+goulter@users.noreply.github.com> Date: Tue, 16 Jun 2026 10:32:41 -0700 Subject: [PATCH 1/3] remove slack notification creation and slack notification updates --- .github/workflows/create-release.yml | 69 +--------------------------- 1 file changed, 1 insertion(+), 68 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index c5ecb30..31fdb8c 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -10,7 +10,6 @@ env: workflow_url: > https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} dry_run: ${{ github.ref != 'refs/heads/main' }} - SLACK_BOT_TOKEN: ${{ secrets.ACTIONS_SLACK_BOT_TOKEN }} GCLOUD_TOKEN: ${{ secrets.GCR_TOKEN }} jobs: @@ -36,59 +35,9 @@ jobs: echo "::set-output name=short-sha::${GITHUB_SHA:0:10}" id: configure - - uses: uwit-iam/actions/set-up-slack-notification-canvas@0.1.18 - id: create-canvas - env: - description_prefix: ${{ env.dry_run && '[DRY RUN] ' || '' }} - with: - json: > - { - "description": "${{ env.description_prefix }}${{ github.workflow }}", - "status": "in progress", - "channel": "#iam-bots", - "steps": [ - { - "description": "Configure <${{ env.workflow_url }} | workflow>", - "status": "succeeded", - "stepId": "configure" - }, - { - "description": "Run tests", - "status": "in progress", - "stepId": "run-tests" - }, - { - "description": "Release version ${{ steps.configure.outputs.version }}", - "stepId": "release" - } - ] - } - - - uses: uwit-iam/actions/update-slack-workflow-canvas@0.1.18 - if: steps.create-canvas.outputs.canvas-id - env: - commit_url: > - https://github.com/${{ github.repository }}/commit/${{ github.sha }} - with: - command: add-artifact - description: > - <${{ env.workflow_url }} | Workflow> triggered by ${{ github.actor }} - from a ${{ github.event_name }} at - <${{ env.commit_url }} | commit ${{ steps.configure.outputs.short-sha }}> - - run: ./scripts/pre-push.sh --check-only id: run-tests - - if: always() && steps.create-canvas.outputs.canvas-id - uses: uwit-iam/actions/update-slack-workflow-canvas@0.1.18 - env: - test-status: ${{ steps.run-tests.outcome == 'success' && 'succeeded' || 'failed' }} - release-status: ${{ steps.run-tests.outcome == 'success' && 'in progress' || 'not started' }} - with: - command: update-workflow - step-id: run-tests, release - step-status: ${{ env.test-status }}, ${{ env.release-status }} - - uses: ncipollo/release-action@v1.8.6 if: ${{ ! env.dry_run }} id: create-release @@ -97,25 +46,9 @@ jobs: commit: ${{ github.sha }} tag: ${{ steps.configure.outputs.version }} - - uses: uwit-iam/actions/update-slack-workflow-canvas@0.1.18 - if: success() && steps.create-canvas.outputs.canvas-id - env: - release_version: ${{ steps.configure.outputs.version }} - release_url: ${{ steps.create-release.outputs.html_url || 'https://www.example.com' }} - action_desc: ${{ env.dry_run == 'true' && 'Dry-run for' || 'Published' }} - with: - command: add-artifact - description: > - ${{ env.action_desc }} release - <${{ env.release_url }} | ${{ env.release_version }}> - run: | set -x poetry publish \ --build \ $(test "${{ env.dry_run }}" == "false" || echo "--dry-run") - id: publish-release - - - if: always() && steps.create-canvas.outputs.canvas-id - uses: uwit-iam/actions/finalize-slack-notification-canvas@0.1.18 - with: - workflow-status: ${{ job.status == 'failure' && 'failed' || 'succeeded' }} + id: publish-release \ No newline at end of file From 9c177f264695a6be504d543507a2c5fd4ecfde5b Mon Sep 17 00:00:00 2001 From: Glen Goulter <37945000+goulter@users.noreply.github.com> Date: Tue, 16 Jun 2026 11:43:10 -0700 Subject: [PATCH 2/3] fix issue with pip/setuptools for Python 3.8 by using Python 3.9 --- .github/workflows/create-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 31fdb8c..0d844aa 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v3 - name: Install poetry run: pipx install poetry - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.10" - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - with: project_id: ${{ secrets.IAM_GCR_REPO }} From 43032d04c068b28aebb51940fb9885db3b20275c Mon Sep 17 00:00:00 2001 From: Glen Goulter <37945000+goulter@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:47:40 -0700 Subject: [PATCH 3/3] Use python 3.12 for setuptools --- .github/workflows/create-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 0d844aa..a37374f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v3 - name: Install poetry run: pipx install poetry - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.12" - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - with: project_id: ${{ secrets.IAM_GCR_REPO }}