Skip to content

conditional stuff

conditional stuff #5

Workflow file for this run

name: print log
on: [pull_request]
jobs:
one:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB: ${{ toJson(github) }}
run: echo "$GITHUB"
- name: print base commit of this branch
run: |
task=$(curl ${{ github.event.pull_request._links.commits.href }})
echo "${task}"
message=$(echo ${task} | jq .[0].commit.message -r)
echo "${message}"
#+ if: "!contains(github.event.head_commit.message, 'skip:build')"