mirror of https://github.com/QMCPACK/qmcpack.git
parent
a69ec7a55a
commit
894e54adc4
|
@ -6,47 +6,47 @@ on:
|
|||
- develop
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
branches:
|
||||
- develop
|
||||
- main
|
||||
|
||||
|
||||
jobs:
|
||||
rebase:
|
||||
if: |
|
||||
contains(github.event.pull_request.body, '!-> Feel free to automatically rebase this PR. <-!')
|
||||
&& github.event.pull_request.auto_merge
|
||||
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Echo Github Context To Debug
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
- name: Automatic Rebase
|
||||
run: tests/test_automation/github-actions/ci/run_step.sh rebase
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
|
||||
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
|
||||
- name: Echo Github Context To Debug
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
- name: Automatic Rebase
|
||||
run: tests/test_automation/github-actions/ci/run_step.sh rebase
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
|
||||
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
|
||||
|
||||
trigger-rebase:
|
||||
if: github.event_name == 'push'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
- name: Push Update To Opt'd in PR's
|
||||
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
|
||||
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
||||
- name: Push Update To Opt'd in PR's
|
||||
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
|
||||
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
|
||||
|
|
|
@ -71,7 +71,7 @@ jobs:
|
|||
|
||||
- name: Checkout PR branch
|
||||
if: steps.check.outputs.triggered == 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{secrets.GITHUB_TOKEN}}
|
||||
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
|
||||
- name: Checkout PR branch
|
||||
if: steps.check.outputs.triggered == 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{secrets.GITHUB_TOKEN}}
|
||||
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
|
||||
|
@ -266,7 +266,7 @@ jobs:
|
|||
|
||||
- name: Checkout PR branch
|
||||
if: steps.check.outputs.triggered == 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{secrets.GITHUB_TOKEN}}
|
||||
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
|
||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure
|
||||
run: tests/test_automation/github-actions/ci/run_step_static.sh configure
|
||||
|
|
|
@ -110,7 +110,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure
|
||||
run: tests/test_automation/github-actions/ci/run_step.sh configure
|
||||
|
@ -147,12 +147,12 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set Python Version
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
|
@ -205,11 +205,11 @@ jobs:
|
|||
container:
|
||||
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
|
||||
options: -u 1001
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout Action
|
||||
uses: actions/checkout@v3
|
||||
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Echo Debug
|
||||
run: |
|
||||
echo $PATH
|
||||
|
|
Loading…
Reference in New Issue