Restoring an old file (.github/workflows/copilot.yml)

This commit is contained in:
kqlio67 2024-10-20 15:35:18 +03:00
parent 71a2d0b4db
commit cd5e248bfc

View File

@ -6,9 +6,6 @@ on:
types:
- completed
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
jobs:
review:
runs-on: ubuntu-latest
@ -17,9 +14,9 @@ jobs:
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Download artifact'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
@ -41,7 +38,7 @@ jobs:
- name: 'Unzip artifact'
run: unzip pr_number.zip
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: 'pip'