Makes Backlog related branch information available to other actions in your workflow.
Use the action in your workflow with your API token:
name: workflow-name
on:
pull_request:
types: [opened, synchronize]
jobs:
job_name:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bklg-actions/branch-info@v1
id: branch
with:
api_token: ${{secrets.BKLG_API_TOKEN}}
- name: echo branch variables
run: echo task_id=$TASK_ID
env:
TASK_ID: ${{steps.branch.outputs.task_id}}See action.yml for a full list of inputs and outputs.
Issue reports and pull requests are welcome on GitHub at https://github.com/bklg-actions/branch-info.
This work is available as open source under the terms of the MIT License.