Skip to content

Commit

Permalink
fixed issue-OWASP-BLT#828
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Sep 25, 2023
1 parent 80fdaab commit aa84db5
Show file tree
Hide file tree
Showing 352 changed files with 85,671 additions and 81,277 deletions.
28 changes: 14 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "BLT dev container",
"dockerComposeFile": "../docker-compose.yml",
"service": "app",
"workspaceFolder": "/blt",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
},
"forwardPorts": [8000]
}
{
"name": "BLT dev container",
"dockerComposeFile": "../docker-compose.yml",
"service": "app",
"workspaceFolder": "/blt",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
},
"forwardPorts": [8000]
}
56 changes: 28 additions & 28 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
---
name: Bug Report
about: Create a report to help us improve
title: 'Bug: '
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.


**Additional context**
Add any other context about the problem here.
---
name: Bug Report
about: Create a report to help us improve
title: 'Bug: '
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.


**Additional context**
Add any other context about the problem here.
34 changes: 17 additions & 17 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Feature Request
about: Suggest an idea for this project
title: 'Feature Request: '
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Feature Request
about: Suggest an idea for this project
title: 'Feature Request: '
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 100
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 100
58 changes: 29 additions & 29 deletions .github/workflows/assign-issues.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Auto Assign Issues

on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
slash_assign:
if: >
(github.event_name == 'issue_comment' && (
contains(github.event.comment.body, '/assign') ||
startsWith(github.event.comment.body, '/unassign') ||
contains(github.event.comment.body, 'assign to me') ||
contains(github.event.comment.body, 'assign this to me') ||
contains(github.event.comment.body, 'please assign me this') ||
contains(github.event.comment.body, 'assign this to me') ||
contains(github.event.comment.body, 'I can try fixing this') ||
contains(github.event.comment.body, 'i am interested in doing this') ||
contains(github.event.comment.body, 'I am interested in contributing'))) || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Assign Issues
uses: OWASP/BLT-Action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
name: Auto Assign Issues

on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
slash_assign:
if: >
(github.event_name == 'issue_comment' && (
contains(github.event.comment.body, '/assign') ||
startsWith(github.event.comment.body, '/unassign') ||
contains(github.event.comment.body, 'assign to me') ||
contains(github.event.comment.body, 'assign this to me') ||
contains(github.event.comment.body, 'please assign me this') ||
contains(github.event.comment.body, 'assign this to me') ||
contains(github.event.comment.body, 'I can try fixing this') ||
contains(github.event.comment.body, 'i am interested in doing this') ||
contains(github.event.comment.body, 'I am interested in contributing'))) || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Assign Issues
uses: OWASP/BLT-Action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
30 changes: 15 additions & 15 deletions .github/workflows/auto-approve-dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Auto approve PRs by dependabot

# Trigger the workflow on pull request
on: pull_request_target

jobs:
autoapprove:
name: Auto-Approve a PR by dependabot
runs-on: ubuntu-latest
steps:
- name: Auto approve
uses: cognitedata/auto-approve-dependabot-action@v3.0.1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
name: Auto approve PRs by dependabot

# Trigger the workflow on pull request
on: pull_request_target

jobs:
autoapprove:
name: Auto-Approve a PR by dependabot
runs-on: ubuntu-latest
steps:
- name: Auto approve
uses: cognitedata/auto-approve-dependabot-action@v3.0.1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'dependabot'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
28 changes: 14 additions & 14 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.ACCESS_TOKEN_DEPENDABOT }}
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.ACCESS_TOKEN_DEPENDABOT }}
36 changes: 18 additions & 18 deletions .github/workflows/autoupdate.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: autoupdate
on:
# This will trigger on all pushes to all branches.
push: {}
# Alternatively, you can only trigger if commits are pushed to certain branches, e.g.:
# push:
# branches:
# - master
# - unstable
jobs:
autoupdate:
name: autoupdate
runs-on: ubuntu-20.04
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_CONFLICT_ACTION: "ignore"
name: autoupdate
on:
# This will trigger on all pushes to all branches.
push: {}
# Alternatively, you can only trigger if commits are pushed to certain branches, e.g.:
# push:
# branches:
# - master
# - unstable
jobs:
autoupdate:
name: autoupdate
runs-on: ubuntu-20.04
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_CONFLICT_ACTION: "ignore"
Loading

0 comments on commit aa84db5

Please sign in to comment.