From 0f25e9a22eae7140b92ffeb1818facd793e2bc1d Mon Sep 17 00:00:00 2001 From: ahmadgaz Date: Sun, 29 Sep 2024 16:10:21 -0700 Subject: [PATCH 1/2] added pr dependency action --- .github/workflows/pr.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 116e556..a836bd8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,6 +5,15 @@ on: types: [opened, reopened, synchronize] jobs: + check_dependencies: + runs-on: ubuntu-latest + name: Check Dependencies + steps: + - uses: gregsdennis/dependencies-action@main + with: + custom-domains: my-custom-domain.io another.domain.com + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} lint: runs-on: ubuntu-latest steps: From 3b27a1da98be93e13b18eef29abc5c723508b798 Mon Sep 17 00:00:00 2001 From: ahmadgaz Date: Sun, 29 Sep 2024 16:16:49 -0700 Subject: [PATCH 2/2] made a seperate file for check dependency --- .github/workflows/check-dependencies.yml | 16 ++++++++++++++++ .github/workflows/pr.yml | 9 --------- 2 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/check-dependencies.yml diff --git a/.github/workflows/check-dependencies.yml b/.github/workflows/check-dependencies.yml new file mode 100644 index 0000000..cb49262 --- /dev/null +++ b/.github/workflows/check-dependencies.yml @@ -0,0 +1,16 @@ +name: Check Dependencies + +on: + pull_request: + types: [opened, edited, closed, reopened, synchronize] + +jobs: + check_dependencies: + runs-on: ubuntu-latest + name: Check Dependencies + steps: + - uses: gregsdennis/dependencies-action@main + with: + custom-domains: my-custom-domain.io another.domain.com + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a836bd8..116e556 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,15 +5,6 @@ on: types: [opened, reopened, synchronize] jobs: - check_dependencies: - runs-on: ubuntu-latest - name: Check Dependencies - steps: - - uses: gregsdennis/dependencies-action@main - with: - custom-domains: my-custom-domain.io another.domain.com - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} lint: runs-on: ubuntu-latest steps: