Skip to content

chore(ResponseTest.java): Updated contents of string for CommandPlainSecure test #20

chore(ResponseTest.java): Updated contents of string for CommandPlainSecure test

chore(ResponseTest.java): Updated contents of string for CommandPlainSecure test #20

name: Dependabot auto-merge
on:
pull_request:
types:
- opened
- synchronize
jobs:
tests:

Check failure on line 9 in .github/workflows/auto-merge-dependabot-pr.yml

View workflow run for this annotation

GitHub Actions / Dependabot auto-merge

Invalid workflow file

The workflow is not valid. .github/workflows/auto-merge-dependabot-pr.yml (Line: 9, Col: 3): Error calling workflow 'centralnicgroup-opensource/rtldev-middleware-java-sdk/.github/workflows/test.yml@b38c8c5d6902e4f03e820b1e589682dcbbe56bee'. The nested job 'lint' is requesting 'packages: read', but is only allowed 'packages: none'. .github/workflows/auto-merge-dependabot-pr.yml (Line: 9, Col: 3): Error calling workflow 'centralnicgroup-opensource/rtldev-middleware-java-sdk/.github/workflows/test.yml@b38c8c5d6902e4f03e820b1e589682dcbbe56bee'. The nested job 'test_matrix' is requesting 'contents: write, deployments: write, packages: write', but is only allowed 'contents: read, deployments: none, packages: none'.
uses: ./.github/workflows/test.yml
secrets: inherit
permissions:
contents: read
dependabot:
name: Auto-merge Dependabot PR
runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
needs: tests
permissions:
contents: write
pull-requests: write
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
# (fixes, features but not major upgrades!)
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.RTLDEV_MW_CI_TOKEN}}