From 7a1d2c9e2d7d25fa5bcb4e8df1bd2c88e31aebcd Mon Sep 17 00:00:00 2001 From: Vitaliy Potyarkin Date: Wed, 6 Nov 2024 12:17:58 +0300 Subject: [PATCH] [#317] Stop using obsolete .github directory This commit is a part of multi-repo cleanup effort: https://git.frostfs.info/TrueCloudLab/frostfs-infra/issues/136 Signed-off-by: Vitaliy Potyarkin --- .forgejo/workflows/dco.yml | 26 ++++++++++++++++++++++++++ .github/workflows/dco.yml | 22 ---------------------- 2 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 .forgejo/workflows/dco.yml delete mode 100644 .github/workflows/dco.yml diff --git a/.forgejo/workflows/dco.yml b/.forgejo/workflows/dco.yml new file mode 100644 index 0000000..3af372f --- /dev/null +++ b/.forgejo/workflows/dco.yml @@ -0,0 +1,26 @@ +# yamllint disable rule:truthy + +name: DCO check +on: + pull_request: + +jobs: + dco: + name: DCO + runs-on: docker + container: + image: node:22-bookworm + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: '1.22' + + - name: Run commit format checker + uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3 + with: + from: 'origin/${{ github.event.pull_request.base.ref }}' diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml deleted file mode 100644 index 816addc..0000000 --- a/.github/workflows/dco.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: DCO check - -on: - pull_request: - branches: - - master - - develop - -jobs: - commits_check_job: - runs-on: ubuntu-latest - name: Commits Check - steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: DCO Check - uses: tim-actions/dco@master - with: - commits: ${{ steps.get-pr-commits.outputs.commits }}