Skip to content

Commit

Permalink
Debug further
Browse files Browse the repository at this point in the history
  • Loading branch information
grunweg committed Aug 30, 2024
1 parent 8f62642 commit eb24240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ jobs:
- name: "check the formatting of the PR title and for missing or inconsistent labels"
# TODO: skip this check if the PR is in draft stage!
shell: bash # just in case
run: |

Check failure on line 85 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / actionlint

"github.event.pull_request.title" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details
set -eo pipefail
title=${{github.event.pull_request.title}}
echo $title
label_names=${{github.event.pull_request.labels[*].name}}
echo $label_names
lake exe check-title-labels $title $label_names
- name: Install bibtool
Expand Down

0 comments on commit eb24240

Please sign in to comment.