Skip to content

Bump eslint from 8.57.0 to 8.57.1 in /ops/services/app_functions/report_stream_batched_publisher/functions #1848

Bump eslint from 8.57.0 to 8.57.1 in /ops/services/app_functions/report_stream_batched_publisher/functions

Bump eslint from 8.57.0 to 8.57.1 in /ops/services/app_functions/report_stream_batched_publisher/functions #1848

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"