chore: test ci #512
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 GitHub Actions / defaultInvalid workflow file
|
||
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') }}' |