Skip to content

Commit e3f1638

Browse files
authored
Merge pull request #85 from RockefellerArchiveCenter/development
Add GH Workflows
2 parents 8a1f1fb + f1f3e72 commit e3f1638

File tree

4 files changed

+112
-13
lines changed

4 files changed

+112
-13
lines changed

.github/dependabot.yml

-11
This file was deleted.

.github/workflows/dependencies.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: update dependencies
2+
on:
3+
4+
schedule:
5+
- cron: '0 0 1 * *'
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
steps:
17+
- uses: actions/create-github-app-token@v1
18+
id: app-token
19+
with:
20+
app-id: ${{ vars.APP_ID }}
21+
private-key: ${{ secrets.PRIVATE_KEY }}
22+
23+
- uses: actions/checkout@v3
24+
with:
25+
token: ${{ steps.app-token.outputs.token }}
26+
ref: development
27+
persist-credentials: false
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v4
31+
with:
32+
python-version: '3.11'
33+
cache: pip
34+
35+
- name: Install pre-commit and pip-tools
36+
run: pip install pre-commit pip-tools
37+
38+
- name: Run pre-commit autoupdate
39+
run: pre-commit autoupdate
40+
41+
- name: Update test requirements
42+
run: pip-compile --upgrade test_requirements.in -o test_requirements.txt
43+
44+
- name: Create Pull Request
45+
uses: peter-evans/create-pull-request@v6.0.2
46+
with:
47+
token: ${{ steps.app-token.outputs.token }}
48+
base: development
49+
branch: dependency-updates
50+
delete-branch: true
51+
title: Dependency Updates
52+
commit-message: Dependency updates

test_requirements.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tox==4.*
2+
tox-docker==5.*

test_requirements.txt

+58-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,58 @@
1-
tox==4.*
2-
tox-docker==5.*
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --output-file=test_requirements.txt test_requirements.in
6+
#
7+
cachetools==5.5.0
8+
# via tox
9+
certifi==2024.8.30
10+
# via requests
11+
chardet==5.2.0
12+
# via tox
13+
charset-normalizer==3.4.0
14+
# via requests
15+
colorama==0.4.6
16+
# via tox
17+
distlib==0.3.9
18+
# via virtualenv
19+
docker==7.1.0
20+
# via tox-docker
21+
filelock==3.16.1
22+
# via
23+
# tox
24+
# virtualenv
25+
idna==3.10
26+
# via requests
27+
packaging==24.2
28+
# via
29+
# pyproject-api
30+
# tox
31+
platformdirs==4.3.6
32+
# via
33+
# tox
34+
# virtualenv
35+
pluggy==1.5.0
36+
# via tox
37+
pyproject-api==1.8.0
38+
# via tox
39+
requests==2.32.3
40+
# via docker
41+
tomli==2.1.0
42+
# via
43+
# pyproject-api
44+
# tox
45+
tox==4.23.2
46+
# via
47+
# -r test_requirements.in
48+
# tox-docker
49+
tox-docker==5.0.0
50+
# via -r test_requirements.in
51+
typing-extensions==4.12.2
52+
# via tox
53+
urllib3==2.2.3
54+
# via
55+
# docker
56+
# requests
57+
virtualenv==20.28.0
58+
# via tox

0 commit comments

Comments
 (0)