Skip to content

Commit

Permalink
add run smoke label to pr
Browse files Browse the repository at this point in the history
  • Loading branch information
cortisiko committed Oct 18, 2024
1 parent a331f5b commit cd18e71
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/add-e2e-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add E2E Label to PR

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
add-label:
runs-on: ubuntu-latest

steps:
- name: Add Run Smoke Label to PR
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels \
-d '{"labels":["Run Smoke E2E"]}'

0 comments on commit cd18e71

Please sign in to comment.