Skip to content

Properly return the answers to recursive questions (#21) #35

Properly return the answers to recursive questions (#21)

Properly return the answers to recursive questions (#21) #35

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [ main ]
workflow_dispatch:
jobs:
setup:
if: github.event_name == 'pull_request' || !(github.event_name == 'push' && github.ref == 'refs/heads/main')
outputs:
branch: ${{ steps.set_branch_variable.outputs.branch }}
runs-on: ubuntu-latest
steps:
- id: set_branch_variable
name: Set Branch Variable
uses: emmahsax/github-actions/set-branch-variable@main
gitleaks:
uses: emmahsax/github-actions/.github/workflows/gitleaks.yml@main
go-test:
if: github.event_name == 'pull_request' || !(github.event_name == 'push' && github.ref == 'refs/heads/main')
needs: [ setup ]
uses: emmahsax/github-actions/.github/workflows/go-test.yml@main
with:
branch: ${{ needs.setup.outputs.branch }}
build_command: task build