Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/github-issue-id.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 The Linux Foundation <abelur@linux.com>

name: call-issue-id-reusable-workflow

# yamllint disable-line rule:truthy
on:
pull_request_target:
types: [opened, reopened, edited, synchronize]
branches:
- master
- main

concurrency:
group: ${{ github.workflow }}-${{ github.run_id }}
cancel-in-progress: true

jobs:
issue-id:
permissions:
contents: write
uses: os-climate/osc-github-devops/.github/workflows/reuse-issue-id.yaml@main
33 changes: 33 additions & 0 deletions .github/workflows/github2gerrit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 The Linux Foundation <abelur@linux.com>

name: call-github2gerrit-reusable-workflow

# yamllint disable-line rule:truthy
on:
workflow_dispatch:
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: lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main
with:
GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }}
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 }}