Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
version: 2
updates:
# Define the target package ecosystem
- package-ecosystem: "npm"
- package-ecosystem: 'npm'
# Specify the root directory
directory: "/"
# Schedule automated updates to run weekly
directory: '/'
# Schedule automated updates
schedule:
interval: "weekly"
interval: 'cron'
cronjob: '0 0 1 * *'
# Labels to apply to Dependabot PRs
labels:
- "dependencies"
- 'dependencies'
# Specify the target branch for PRs
target-branch: "main"
target-branch: 'main'
# Customize commit message prefix
commit-message:
prefix: "chore(deps):"
prefix: 'chore(deps):'
3 changes: 2 additions & 1 deletion .github/workflows/config/check-pr-issue-skip-usernames.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dependabot
noman2002
palisadoes
noman2002
43 changes: 25 additions & 18 deletions .github/workflows/pull-request-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,33 @@ jobs:
## Our Pull Request Approval Process

This PR will be reviewed according to our:

1. [Palisadoes Contributing Guidelines](https://developer.palisadoes.org/docs/contributor-guide/contributing)

2. [AI Usage Policy](https://developer.palisadoes.org/docs/contributor-guide/ai)

Your PR may be automatically closed if:

1. Our PR template isn't filled in correctly

1. [You haven't correctly linked your PR to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue)

Thanks for contributing!

# Check-PR-Issue:
# name: Check Correct PR Issue Assignment
# runs-on: ubuntu-latest
# needs: [PR-Greeting]
# steps:
# - uses: actions/checkout@v4
# - name: Check PR linked issue and assignee
# uses: arkid15r/check-pr-issue-action@f2c2ac3b8c73b5da96294af9ac3ec174098cf513
# with:
# close_pr_on_failure: 'true'
# github_token: ${{ secrets.GITHUB_TOKEN }}
# no_assignee_message: 'The linked issue must be assigned to the PR author.'
# no_issue_message: 'The PR must be linked to an issue assigned to the PR author.'
# require_assignee: 'true'
# # List of usernames who can create PRs without having an assigned issue
# skip_users_file_path: '.github/workflows/config/check-pr-issue-skip-usernames.txt'
Check-PR-Issue:
name: Check Correct PR Issue Assignment
runs-on: ubuntu-latest
needs: [PR-Greeting]
steps:
- uses: actions/checkout@v4
- name: Check PR linked issue and assignee
uses: arkid15r/check-pr-issue-action@0.1.3
with:
close_pr_on_failure: 'true'
github_token: ${{ secrets.GITHUB_TOKEN }}
no_assignee_message: 'The linked issue must be assigned to the PR author.'
no_issue_message: 'The PR must be linked to an issue assigned to the PR author.'
check_issue_reference: 'true'
require_assignee: 'true'
# List of usernames who can create PRs without having an assigned issue
skip_users_file_path: '.github/workflows/config/check-pr-issue-skip-usernames.txt'
Loading