Skip to content

Commit 978722e

Browse files
committed
Update
1 parent 6bb8f73 commit 978722e

15 files changed

+33
-1052
lines changed

.circleci/config.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.circleci/setup_env.sh

Lines changed: 0 additions & 64 deletions
This file was deleted.

.github/workflows/asv-bot.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/autoupdate-pre-commit-config.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/code-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Code Checks
1+
name: Code Checks
22

33
on:
44
push:

.github/workflows/codeql.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deprecations Bot
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 2.0.x
8+
- 1.5.x
9+
pull_request:
10+
branches:
11+
- main
12+
- 2.0.x
13+
- 1.5.x
14+
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
deprecation_update:
21+
permissions:
22+
issues: write
23+
runs-on: ubuntu-22.04
24+
steps:
25+
- name: Checkout
26+
run: |
27+
echo "Adding deprecation"
28+
BODY=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/phofl/pandas/issues/2 | python3 -c "import sys, json; print(json.load(sys.stdin)['body'])")
29+
echo python3 -c "import os; print(os.environ)"
30+
echo ${BODY}
31+
echo "{'body': '${BODY}'}"
32+
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X PATCH -d '{"body": ${BODY}'"}' https://api.github.com/repos/phofl/pandas/issues/2

0 commit comments

Comments
 (0)