Skip to content

Commit

Permalink
Common workflows added (#2)
Browse files Browse the repository at this point in the history
* Create prettier.yaml

* Create profanityFilter.yaml

* Create dependabot.yml

* Update prettier.yaml

* Update profanityFilter.yaml

* Create renovate.json

* Changed workflows prettier.yaml & profanityFilter.yaml to use reusable workflows from `Netcracker/qubership-github-workflows`

* Create cla.yaml
  • Loading branch information
borislavr authored Dec 25, 2024
1 parent 7f3822d commit b3822ce
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "docker" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions" # Core GitHub Actions
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "maven" # Core GitHub Actions
directory: "/"
schedule:
interval: "weekly"
11 changes: 11 additions & 0 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: CLA Assistant
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
jobs:
cla_assistant:
uses: Netcracker/qubership-github-workflows/.github/workflows/cla.yaml@main
secrets:
personal_access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
10 changes: 10 additions & 0 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Prettier-fix
on: [pull_request, push, workflow_dispatch]

permissions:
contents: write

jobs:
call-prettier-fix:
uses: Netcracker/qubership-github-workflows/.github/workflows/prettierFix.yaml@main
19 changes: 19 additions & 0 deletions .github/workflows/profanityFilter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Profanity filter

# Trigger on issue or pull requests, that are opened, edited, or reopened
on:
issue_comment:
types: [created, edited]
issues:
types: [opened, edited, reopened]
pull_request:
types: [opened, edited, reopened]

# Required permissions
permissions:
issues: write
pull-requests: write

jobs:
call-apply-filter:
uses: Netcracker/qubership-github-workflows/.github/workflows/profanityFilter.yaml@main
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["github>Netcracker/qubership-renovate-config"]
}

0 comments on commit b3822ce

Please sign in to comment.