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