fix: prevent endless loop on 403 GitHub response #1916
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
# Copyright (c) 2022 - 2023, Oracle and/or its affiliates. All rights reserved. | |
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/. | |
# This workflow checks and tests the package code, builds all package | |
# artifacts and the Docker image whenever there are changes to a pull request. | |
name: Check change set | |
on: | |
pull_request: | |
branches: | |
- '*' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- converted_to_draft | |
permissions: | |
contents: read | |
jobs: | |
build: | |
uses: ./.github/workflows/_build.yaml | |
permissions: | |
contents: read | |
packages: read |