Skip to content

Commit

Permalink
ci: debug release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshuverma-dev authored Nov 19, 2024
1 parent e09a781 commit 1b07696
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ permissions:

jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.outputs.triggered_by_release == 'true' }}
runs-on: ubuntu-latest
permissions:
contents: write # Write access to create releases and tags
Expand All @@ -21,6 +20,12 @@ jobs:
issues: write

steps:
- name: Debug Workflow Run Outputs
run: |
echo "Workflow run conclusion: ${{ github.event.workflow_run.conclusion }}"
echo "Triggered by release: ${{ github.event.workflow_run.outputs.triggered_by_release }}"
echo "Full workflow run event: ${{ toJson(github.event) }}"
exit 1
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@v1
Expand Down

0 comments on commit 1b07696

Please sign in to comment.