feat: consolidation of workflows #10
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 2024 Defense Unicorns | |
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | |
name: Pull Request Workflow | |
on: | |
pull_request: | |
branches: [main] | |
types: [ milestoned, opened, edited, synchronize] | |
# Permissions for the GITHUB_TOKEN used by the workflow. | |
permissions: | |
contents: read # Allows reading the content of the repository. | |
pull-requests: read # Allows reading pull requests | |
jobs: | |
validate: | |
permissions: | |
contents: read # Allows reading the content of the repository. | |
packages: read # Allows reading the content of the repository's packages. | |
id-token: write | |
pull-requests: read # Allows reading pull requests | |
uses: ./.github/workflows/callable-pull-request.yaml |