Skip to content

Bump requests from 2.30.0 to 2.32.0 #32

Bump requests from 2.30.0 to 2.32.0

Bump requests from 2.30.0 to 2.32.0 #32

name: relevance-challenge
on:
pull_request_target:
branches:
- main
types: [labeled]
permissions:
contents: read
issues: read
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'test-ready')
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run checks
id: checks
run: |
output=$(python test.py ${{ secrets.TEST_FIILE_URL }})
echo "output=$output" >> $GITHUB_OUTPUT
- name: Publish output to comments
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const output = `#### Check Results: \`${{ steps.checks.outputs.output }}\`\n
*Pusher: @${{ github.actor }}*`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})