Skip to content

Commit 4d81098

Browse files
committed
Hack: turn off contributors build just for now
1 parent ad3e185 commit 4d81098

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/update-contribs.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,43 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- main
7+
- mai
88
jobs:
9-
run-meta:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Check out the code
13-
uses: actions/checkout@v3
14-
- name: Setup Python
15-
uses: actions/setup-python@v4
16-
with:
17-
python-version: '3.10'
18-
- name: Upgrade pip
19-
run: |
20-
# install pip=>20.1 to use "pip cache dir"
21-
python -m pip install --upgrade pip wheel
22-
echo "$PWD"
23-
git branch
24-
- name: Install pyosmeta and run update contribs
25-
env:
26-
GITHUB_TOKEN: ${{ github.token }}
27-
run: |
28-
pip install pyosmeta@git+https://github.com/pyopensci/update-web-metadata
29-
echo "$PWD"
30-
# Skip error for when this pr actually works
31-
# python -bb -W error scripts/parse-contributors.py
32-
python scripts/parse-contributors.py
33-
- name: Create Pull Request
34-
uses: peter-evans/create-pull-request@v5
35-
with:
36-
add-paths: _data/contributors.yml
37-
author: Leah <[email protected]>
38-
base: main
39-
branch: contribs
40-
commit-message: "Update: Contributor file update"
41-
delete-branch: true
42-
title: Update new contributors
43-
env:
44-
# Token needed to provide permissions to bot to push to branch
45-
# https://github.com/peter-evans/create-pull-request/issues/48#issuecomment-536204092
46-
GITHUB_TOKEN: ${{ secrets.PYOS_PR_TOKEN }}
9+
run-meta:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out the code
13+
uses: actions/checkout@v3
14+
- name: Setup Python
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: "3.10"
18+
- name: Upgrade pip
19+
run: |
20+
# install pip=>20.1 to use "pip cache dir"
21+
python -m pip install --upgrade pip wheel
22+
echo "$PWD"
23+
git branch
24+
- name: Install pyosmeta and run update contribs
25+
env:
26+
GITHUB_TOKEN: ${{ github.token }}
27+
run: |
28+
pip install pyosmeta@git+https://github.com/pyopensci/update-web-metadata
29+
echo "$PWD"
30+
# Skip error for when this pr actually works
31+
# python -bb -W error scripts/parse-contributors.py
32+
python scripts/parse-contributors.py
33+
- name: Create Pull Request
34+
uses: peter-evans/create-pull-request@v5
35+
with:
36+
add-paths: _data/contributors.yml
37+
author: Leah <[email protected]>
38+
base: main
39+
branch: contribs
40+
commit-message: "Update: Contributor file update"
41+
delete-branch: true
42+
title: Update new contributors
43+
env:
44+
# Token needed to provide permissions to bot to push to branch
45+
# https://github.com/peter-evans/create-pull-request/issues/48#issuecomment-536204092
46+
GITHUB_TOKEN: ${{ secrets.PYOS_PR_TOKEN }}

0 commit comments

Comments
 (0)