From c28866e55756bb62e864f2318f3d147e79a3494f Mon Sep 17 00:00:00 2001 From: Benjamin Arias Date: Tue, 8 Oct 2024 11:46:39 +0200 Subject: [PATCH] :green_heart: Update workflow to test it's working --- .github/workflows/create-release-note.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/create-release-note.yaml b/.github/workflows/create-release-note.yaml index 2ded6da30..d5b7dfec3 100644 --- a/.github/workflows/create-release-note.yaml +++ b/.github/workflows/create-release-note.yaml @@ -3,18 +3,9 @@ name: Create Release Notes on: push: branches: - - main + - fix-workflow jobs: - # Add a job without dependencies to make the workflow valid - dummy_job: - name: Dummy job - runs-on: ubuntu-latest - outputs: - dummy_output: 'dummy' - steps: - - run: echo "dummy" >> $GITHUB_OUTPUT - check_if_version_upgraded: name: Check if version upgrade # When someone forks the repo and opens a PR we want to enables the tests to be run (the previous jobs) @@ -56,5 +47,6 @@ jobs: generate_release_notes: true draft: false prerelease: ${{ needs.check_if_version_upgraded.outputs.is_pre_release == 'true' }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Uncomment to use the token from the secrets, this is temporary to avoid creating a new release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}