Skip to content

Init commits

Init commits #7

---
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 The Linux Foundation <abelur@linux.com>
name: call-github2gerrit-reusable-workflow
description: "Call askb/github2gerrit reusable workflow"
# yamllint disable-line rule:truthy
on:
workflow_call:
pull_request_target:
types: [opened, reopened, edited, synchronize]
branches:
- master
- main
concurrency:
# yamllint disable-line rule:line-length
group: ${{ github.workflow }}-${{ github.run_id }}
cancel-in-progress: true
jobs:
call-in-g2g-workflow:
permissions:
contents: read
pull-requests: write
uses: askb/github2gerrit/.github/workflows/github2gerrit.yaml@main

Check failure on line 27 in .github/workflows/g2g-call-reusable-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/g2g-call-reusable-workflow.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/g2g-call-reusable-workflow.yaml" -> "askb/github2gerrit/.github/workflows/github2gerrit.yaml@main" (source branch with sha:5a929d6762befb73562811a824a08bedd36e30f3) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }}
GERRIT_PROJECT: ${{ vars.GERRIT_PROJECT }}
GERRIT_SERVER: ${{ vars.GERRIT_SERVER }}
GERRIT_SSH_USER_G2G: ${{ vars.GERRIT_SSH_USER_G2G }}
GERRIT_SSH_USER_G2G_EMAIL: ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }}
ORGANIZATION: ${{ vars.ORGANIZATION }}
secrets:
GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }}