diff --git a/.github/workflows/build-image-latest.yml b/.github/workflows/build-image-latest.yml index b91cecf2d64..990cd91c659 100644 --- a/.github/workflows/build-image-latest.yml +++ b/.github/workflows/build-image-latest.yml @@ -47,6 +47,7 @@ jobs: build-iso-latest: name: Build Latest ISOs needs: [build-image-latest] - if: github.event_name.schedule == '40 4 * * 0' + if: github.event.schedule == '40 4 * * 0' + secrets: inherit uses: ./.github/workflows/build-iso-latest.yml diff --git a/.github/workflows/build-image-stable.yml b/.github/workflows/build-image-stable.yml index 4a6c7d9537b..38248e771e6 100644 --- a/.github/workflows/build-image-stable.yml +++ b/.github/workflows/build-image-stable.yml @@ -47,6 +47,6 @@ jobs: build-iso-stable: name: Build Stable ISOs needs: [build-image-stable] - if: github.event_name.schedule == '45 5 * * 0' + if: github.event.schedule == '45 5 * * 0' secrets: inherit uses: ./.github/workflows/build-iso-stable.yml diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index 7457fbf4eec..98a45bd1cac 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -71,14 +71,14 @@ jobs: id: generate-release-text shell: bash run: | - just changelogs "${{ matrix.version }}" "${{ github.event.inputs.handwritten }}" + just changelogs "${{ matrix.version }}" "${{ inputs.handwritten }}" source ./output.env echo "title=${TITLE}" >> $GITHUB_OUTPUT echo "tag=${TAG}" >> $GITHUB_OUTPUT - name: Create Release uses: softprops/action-gh-release@v2 - if: contains(fromJson('["gts", "stable"]'), matrix.version) && (github.event_name.schedule == '45 5 * * 0' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name)) + if: contains(fromJson('["gts", "stable"]'), matrix.version) && (github.event.schedule == '45 5 * * 0' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name)) with: name: ${{ steps.generate-release-text.outputs.title }} tag_name: ${{ steps.generate-release-text.outputs.tag }}