Skip to content

Commit

Permalink
Update url_checker.yml (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-h-diaz authored Jul 25, 2024
1 parent dc7ca96 commit dd0d572
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/url_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./test
#defaults:
# run:
# working-directory: ./test
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content
Expand All @@ -20,15 +20,19 @@ jobs:
with:
python-version: '3.11' # install the python version needed

- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
#- name: install python packages
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt

#- name: execute py script # run url_checker.py
# env:
# DC_API_KEY: ${{ secrets.DC_API_KEY }}
# run: python url_checker.py --update_allowlist

- name: execute py script # run url_checker.py
env:
DC_API_KEY: ${{ secrets.DC_API_KEY }}
run: python url_checker.py --update_allowlist
- name: test
run: |
printf ".env\n\n\n" > .gitignore
- name: create pull request
uses: peter-evans/create-pull-request@v6
Expand All @@ -37,7 +41,6 @@ jobs:
committer: n-h-diaz <77713883+n-h-diaz​@users.noreply.github.com>
author: n-h-diaz <77713883+n-h-diaz​@users.noreply.github.com>
signoff: false
branch: update-url
delete-branch: true
title: 'Update url_allowlist.csv'
body: |
Expand Down

0 comments on commit dd0d572

Please sign in to comment.