feat: support gitlab #24
Workflow file for this run
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: Common-Specific Checks | |
on: | |
# This workflow is triggered on pull requests to the main branch. | |
pull_request: | |
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow). | |
types: [milestoned, opened, reopened, synchronize] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # Allows reading the repo contents | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 0 | |
- name: Install UDS CLI | |
uses: defenseunicorns/setup-uds@b987a32bac3baeb67bfb08f5e1544e2f9076ee8a # v1.0.0 | |
with: | |
# renovate: datasource=github-tags depName=defenseunicorns/uds-cli versioning=semver | |
version: v0.18.0 | |
- name: Environment setup | |
run: | | |
uds run actions:setup-environment \ | |
--set GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" | |
shell: bash | |
- name: Check the tasks/README file | |
run: | | |
uds run check-tasks-README --no-progress |