Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit c273aaa

Browse files
authored
Merge pull request #126 from votca/gha_clean_up
GHA: update forward action
2 parents f9c0446 + c9b87a8 commit c273aaa

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/copyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Checkout head branch from PR
2929
if: ${{ fromJSON(steps.issue_info.outputs.data).pull_request }}
30-
uses: actions/checkout@v2.2.0
30+
uses: actions/checkout@v2
3131
with:
3232
repository: ${{ fromJSON(steps.pr_info.outputs.data).head.repo.full_name }}
3333
ref: ${{ fromJSON(steps.pr_info.outputs.data).head.ref }}

.github/workflows/create-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@master
14+
uses: actions/checkout@v2
1515
with:
1616
ref: ${{ github.event.ref }}
1717
fetch-depth: 0

.github/workflows/forward-to-votca.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ jobs:
1010
if: github.repository_owner == 'votca'
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
with:
16+
repository: votca/votca
17+
ref: master
18+
fetch-depth: 0
19+
token: ${{ secrets.VOTCA_BOT_TOKEN }}
1320
- name: Update submodule
1421
uses: votca/actions/forward@master
1522
with:
1623
module: ${{ github.repository }}
17-
token: ${{ secrets.VOTCA_BOT_TOKEN }}
18-

0 commit comments

Comments
 (0)