Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Mar 1, 2023
1 parent 6bb8f73 commit 978722e
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 1,052 deletions.
95 changes: 0 additions & 95 deletions .circleci/config.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .circleci/setup_env.sh

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/asv-bot.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/autoupdate-pre-commit-config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code Checks
name: Code Checks

on:
push:
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/codeql.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/deprecations-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deprecations Bot

on:
push:
branches:
- main
- 2.0.x
- 1.5.x
pull_request:
branches:
- main
- 2.0.x
- 1.5.x


permissions:
contents: read

jobs:
deprecation_update:
permissions:
issues: write
runs-on: ubuntu-22.04
steps:
- name: Checkout
run: |
echo "Adding deprecation"
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'])")
echo python3 -c "import os; print(os.environ)"
echo ${BODY}
echo "{'body': '${BODY}'}"
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X PATCH -d '{"body": ${BODY}'"}' https://api.github.com/repos/phofl/pandas/issues/2
Loading

0 comments on commit 978722e

Please sign in to comment.