Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
merging master into fix branch for security
Browse files Browse the repository at this point in the history
  • Loading branch information
sfisher committed Mar 19, 2024
2 parents b8bf2a7 + 1b44b18 commit a94fc8f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Set update schedule for GitHub Actions
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot

version: 2
updates:

- package-ecosystem: "pip"
directory: "/"
schedule:
# Check for updates to requirements.txt
interval: "daily"
14 changes: 14 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# validate YAML
# https://codebeautify.org/yaml-validator

name: github-actions
on: [push, pull_request]

jobs:
test-build:
name: test-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run build
run: pip3 install -r requirements.txt
2 changes: 1 addition & 1 deletion upload/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def send_to_datacite():
headers = {
'Content-Type': 'application/gzip',
'Content-Encoding': 'gzip',
'Accept': 'gzip',
'Accept': 'application/json',
'Authorization': f'Bearer {config.Config().hub_api_token}'
}

Expand Down

0 comments on commit a94fc8f

Please sign in to comment.