Skip to content

Commit

Permalink
Add rest of workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Feb 29, 2024
1 parent 6b05644 commit 3256686
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 71 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/bot_pr_approval.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Provide approval for bot PRs

on:
pull_request:

jobs:
bot_pr_approval:
uses: canonical/operator-workflows/.github/workflows/bot_pr_approval.yaml@main
secrets: inherit
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: CI
# on: [push, pull_request]
name: CI. Original NetBox Tests
on: [workflow_dispatch]
permissions:
contents: read
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Comment on the pull request

on:
workflow_run:
workflows: ["Tests"]
types:
- completed

jobs:
comment-on-pr:
uses: canonical/operator-workflows/.github/workflows/comment.yaml@main
secrets: inherit
1 change: 0 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
trivy-image-config: "trivy.yaml"
juju-channel: 3.1/stable
channel: 1.28-strict/stable
tmate-debug: true
rockcraft-repository: weiiwang01/rockcraft
rockcraft-ref: feat-12f-django
charmcraft-repository: weiiwang01/charmcraft
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/lock.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/stale.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Tests

on:
pull_request:

jobs:
unit-tests:
uses: canonical/operator-workflows/.github/workflows/test.yaml@main
secrets: inherit

0 comments on commit 3256686

Please sign in to comment.