Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

openstack: handle when metadata service returns empty data #4

openstack: handle when metadata service returns empty data

openstack: handle when metadata service returns empty data #4

# Maintained in https://github.com/coreos/repo-templates
# Do not edit downstream.
name: PR Gating Action
on:
issue_comment:
types: [created]
pull_request:
types: [opened, labeled, unlabeled]
jobs:
handle-event:
if: >-
github.event_name == 'pull_request' ||
(github.event_name == 'issue_comment' && github.event.issue.pull_request)
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Run Owners Action
uses: coreos/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owners-file: "OWNERS"
env:
AUTO_MERGE: false
MERGE_STRATEGY: merge
AUTO_ASSIGN_REVIEWERS: 2
AUTO_ASSIGN_APPROVERS: 1