Skip to content

Update dpkg package versions #148

Update dpkg package versions

Update dpkg package versions #148

name: Auto reviews updates
on:
pull_request:
types:
- opened
- reopened
jobs:
auto-merge:
name: Auto reviews updates
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/github-script@v6
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
})
if: github.event.pull_request.user.login == 'renovate[bot]'
- uses: actions/github-script@v6
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
});
github.graphql(`
mutation {
enablePullRequestAutoMerge(input: {
pullRequestId: "${context.payload.pull_request.node_id}",
mergeMethod: SQUASH,
}) {
pullRequest {
autoMergeRequest {
enabledAt
}
}
}
}
`)
if: github.event.pull_request.user.login == 'c2c-bot-gis-ci' and startsWith(github.head_ref, 'dpkg-update/')

Check failure on line 49 in .github/workflows/dependency-auto-review.yaml

View workflow run for this annotation

GitHub Actions / Auto reviews updates

Invalid workflow file

The workflow is not valid. .github/workflows/dependency-auto-review.yaml (Line: 49, Col: 13): Unexpected symbol: 'and'. Located at position 58 within expression: github.event.pull_request.user.login == 'c2c-bot-gis-ci' and startsWith(github.head_ref, 'dpkg-update/')