Skip to content

Sniffer implementation poc #3712

Sniffer implementation poc

Sniffer implementation poc #3712

Workflow file for this run

name: Dependabot PR actions
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
jobs:
dependabot:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
if: ${{ github.actor == 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'github-actions') }}
steps:
- name: GitHub App token
id: github_app_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Check out code
uses: actions/checkout@v5
with:
token: ${{ steps.github_app_token.outputs.token }}
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- id: version
run: |
echo "::set-output name=version::$(cat gradle.properties | grep systemProp.version | cut -d' ' -f3 | cut -d\. -f1).x"
- name: Update the changelog
uses: dangoslen/dependabot-changelog-helper@v4
with:
version: "Unreleased ${{ steps.version.outputs.version }}"
- name: Commit the changes
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "Update changelog"
branch: ${{ github.head_ref }}
commit_user_name: dependabot[bot]
commit_user_email: [email protected]
commit_options: '--signoff'