Skip to content

Commit

Permalink
remaining actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Uttkarsh-raj committed May 23, 2024
1 parent 333c394 commit 1cf7a9e
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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:
github-token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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 }}'
20 changes: 20 additions & 0 deletions .github/workflows/issue-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Auto Assign

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

jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Assign Issues
uses: OWASP-BLT/BLT-Action@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

19 changes: 19 additions & 0 deletions .github/workflows/pr_remiders.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: PRs reviews reminder

on:
schedule:
# Runs every hour, between 14:00 and 21:00, Monday through Friday.
- cron: "0,30 14-21 * * 1-5"


jobs:
pr-reviews-reminder:
runs-on: ubuntu-latest
steps:
- uses: davideviolante/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
webhook-url: ${{ secrets.SLACK_PR_REMINDER_WEBHOOK_URL }}
provider: 'slack' # Required (slack, rocket or msteams)
channel: '#project-blt-prs' # Optional, eg: #general

0 comments on commit 1cf7a9e

Please sign in to comment.