Skip to content

chore: test ci

chore: test ci #512

Workflow file for this run

# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2023-11-13T10:31:18Z by kres 4060f0b-dirty.
name: default
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
"on":
push:
branches:
- main
- release-*
tags:
- v*
pull_request:
branches:
- main
- release-*
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
- self-hosted
- generic
if: (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
outputs:
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Retrieve PR labels
id: retrieve-pr-labels
if: github.event_name == 'pull_request' && always()
uses: actions/github-script@v6
with:
# result-encoding: string
retries: "3"
script: |
const resp = await github.rest.issues.get({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
})
const labels = resp.data.labels.map(label => label.name)
return labels
dummy:
runs-on:
- self-hosted
# if: contains(needs.default.outputs.labels, 'integration/e2e') || contains(needs.default.outputs.labels, 'integration/dummy')
needs:
- default
steps:
- name: echo
run: |

Check failure on line 62 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / default

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 62, Col: 14): Unexpected symbol: ')'. Located at position 29 within expression: needs.default.outputs.labels)
echo '${{ needs.default.outputs.labels) }}'
echo '${{ toJSON(needs.default.outputs.labels) }}'
echo '${{ contains(needs.default.outputs.labels, 'integration/e2e') }}'
echo '${{ contains(toJSON(needs.default.outputs.labels), 'integration/e2e') }}'