Changeset 40e845b in mod_gnutls


Ignore:
Timestamp:
Feb 13, 2021, 7:19:16 AM (8 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
461fd38
Parents:
bc8970b
Message:

CI: Use temporary merge commit for code analysis in pull requests

Much simpler, and HEAD2 could happend to be from the target branch
depending on commit order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/analysis.yaml

    rbc8970b r40e845b  
    2626          apt-get -y install git python3-yaml apache2-bin apache2-dev gnutls-bin libapr1-dev libgnutls28-dev pkg-config procps clang clang-tools libmsv-dev
    2727      - uses: actions/checkout@v2
    28         with:
    29           fetch-depth: 2
    30       # For pull requests get the head of the branch, instead of a
    31       # temporary merge
    32       - run: git checkout HEAD^2
    33         if: ${{ github.event_name == 'pull_request' }}
    3428      - name: find usable IPs for tests
    3529        run: |
     
    7064          apt-get -y install git python3-yaml apache2-bin apache2-dev gnutls-bin libapr1-dev libgnutls28-dev libmsv-dev pkg-config procps bear cppcheck
    7165      - uses: actions/checkout@v2
    72         with:
    73           fetch-depth: 2
    74       - run: git checkout HEAD^2
    75         if: ${{ github.event_name == 'pull_request' }}
    7666      - name: autoreconf
    7767        run: autoreconf -fiv
     
    10292    steps:
    10393      - uses: actions/checkout@v2
    104         with:
    105           fetch-depth: 2
    106       - run: git checkout HEAD^2
    107         if: ${{ github.event_name == 'pull_request' }}
    10894      - name: install dependencies
    10995        run: |
Note: See TracChangeset for help on using the changeset viewer.