[Snyk] Security upgrade webpack-dev-server from 3.11.0 to 4.8.0 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarking | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
env: | |
BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }} | |
steps: | |
# | |
# Checkout the repository so that we can use scripts from it | |
# | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# | |
# Check for '/benchmark' comments on a PR | |
# | |
- uses: khan/pull-request-comment-trigger@master | |
id: check | |
with: | |
trigger: '/benchmark' | |
reaction: rocket | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
# | |
# Extract the branch of that the PR the comment was added to belongs to | |
# | |
- uses: xt0rted/pull-request-comment-branch@v1 | |
if: steps.check.outputs.triggered == 'true' | |
id: comment-branch | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# Trigger the buildkite pipeline IF the 'benchmark' command was found | |
# | |
- run: | | |
./scripts/trigger-buildkite-pipeline.sh ${{ steps.comment-branch.outputs.head_ref }} ${{ github.event.issue.number }} | |
if: steps.check.outputs.triggered == 'true' |