Bump eslint from 9.14.0 to 9.15.0 in /cypress #1921
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: Dependabot Create Issue | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
issue: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
# Github action permissions: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#overview | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
- name: Open issue if Dependabot PR | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
env: | |
title: ${{github.event.pull_request.title}} | |
number: ${{github.event.pull_request.number}} | |
url: ${{github.event.pull_request.url}} | |
run: | | |
title="Dependabot PR $title opened" | |
labels="dependencies,Dependabot" | |
body="Dependabot has opened PR #$number | |
Link: $url" | |
gh issue create --title "$title" --body "$body" --label "$labels" |