mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
The external-id parameter takes an int32 and the generated run_id was apparently not valid lately, resulting in undocumented 404 errors when submitting patches (the API endpoint probably doesn't like negative numbers because the last accepted id was 2059658094, rejected ids were e.g. 2167472705 or 2168792083).
38 lines
979 B
YAML
38 lines
979 B
YAML
name: lgtm.com
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
OS_NAME: linux
|
|
|
|
jobs:
|
|
pre-check:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
should_skip: ${{ steps.skip-check.outputs.should_skip }}
|
|
steps:
|
|
- id: skip-check
|
|
uses: fkirc/skip-duplicate-actions@master
|
|
with:
|
|
concurrent_skipping: 'same_content'
|
|
|
|
lgtm:
|
|
needs: pre-check
|
|
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
TEST: lgtm
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
# we don't use github/codeql-action because we can't exclude queries there,
|
|
# so we continue to use the approach we used on Travis
|
|
- env:
|
|
LGTM_TOKEN: ${{ secrets.LGTM_TOKEN }}
|
|
LGTM_PROJECT: ${{ secrets.LGTM_PROJECT }}
|
|
BUILD_NUMBER: ${{ github.run_number }}
|
|
COMMIT_ID: ${{ github.sha }}
|
|
COMMIT_BASE: ${{ github.event.before }}
|
|
uses: ./.github/actions/default
|