From 244896b0e92aad58e3166f75b46200f9c7f4d627 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 29 Oct 2024 10:58:54 +0100 Subject: [PATCH 1/2] chore: silence aws command output in ci logs Reduces AWS command output in GitHub workflow logs to prevent exposing sensitive information. --- .github/workflows/deploy.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 23319af..7c955f7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,4 +42,4 @@ jobs: --cluster pillarbox-monitoring-cluster \ --service data-transfer-service \ --force-new-deployment \ - --region ${{ secrets.AWS_REGION }} + --region ${{ secrets.AWS_REGION }} >/dev/null diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4145f25..cd9843d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,4 +111,4 @@ jobs: --cluster pillarbox-monitoring-cluster \ --service data-transfer-service \ --force-new-deployment \ - --region ${{ secrets.AWS_REGION }} + --region ${{ secrets.AWS_REGION }} >/dev/null From f54536c412298e3a0e023f35ecea147d9c4e8193 Mon Sep 17 00:00:00 2001 From: Josep Boix Requesens Date: Tue, 29 Oct 2024 11:29:07 +0100 Subject: [PATCH 2/2] ci: grant write permissions to issues and prs in release job Enables the release job to interact with PRs and issues, improving discoverability. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd9843d..e72db4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,9 @@ jobs: version: ${{ steps.check-version.outputs.version }} permissions: + issues: write contents: write + pull-requests: write steps: - name: Checkout code