Skip to content

Commit c4c6c96

Browse files
authored
Merge pull request #1 from ARPC/add-dependabot
Adding github actions
2 parents 5b64f5f + 14f965c commit c4c6c96

File tree

4 files changed

+64
-1
lines changed

4 files changed

+64
-1
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "mix" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
open-pull-requests-limit: 5
6+
schedule:
7+
interval: "daily"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dependabot Tickets
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
check-dependabot-pull-requests:
10+
runs-on: ubuntu-latest
11+
name: Check for Dependabot Pull Requests
12+
steps:
13+
- name: Step 1
14+
id: step_1
15+
uses: ARPC/[email protected]
16+
with:
17+
fogbugz_api_url: ${{ secrets.FOGBUGZ_API_URL}}
18+
fogbugz_token: ${{ secrets.FOGBUGZ_API_TOKEN }}
19+
fogbugz_project: ${{ secrets.FOGBUGZ_PROJECT }}
20+
fogbugz_category: ${{ secrets.FOGBUGZ_CATEGORY}}
21+
planview_api_url: ${{ secrets.PLANVIEW_API_URL }}
22+
planview_auth: ${{ secrets.LEANKIT_AUTH }}
23+
planview_board_id: ${{ secrets.PLANVIEW_BOARD_ID }}
24+
planview_lane_id: ${{ secrets.PLANVIEW_LANE_ID }}
25+
planview_type_id: ${{ secrets.PLANVIEW_TYPE_ID }}
26+
users: "dependabot[bot]"

.github/workflows/run_tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
container:
13+
image: elixir:1.17.3
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Install dependencies
20+
run: |
21+
mix local.rebar --force
22+
mix local.hex --force
23+
mix deps.get
24+
25+
- name: Run Tests
26+
env:
27+
MIX_ENV: test
28+
run: |
29+
mix test

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ erl_crash.dump
2323
assert_html-*.tar
2424

2525

26-
.elixir_ls
26+
.elixir_ls
27+
.DS_Store

0 commit comments

Comments
 (0)