Skip to content

Commit b56ea71

Browse files
authored
Merge pull request #728 from Chanchal-D/fix-github-actions
Fixed typo in welcome-pr.yml & improved stale.yml config
2 parents 724f4b8 + 42fcf4e commit b56ea71

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/dependabot.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
# For Python dependencies
4+
- package-ecosystem: "pip"
5+
directory: "/" # Location of the requirements.txt file
6+
schedule:
7+
interval: "weekly"
8+
9+
# For Node.js dependencies
10+
- package-ecosystem: "npm"
11+
directory: "/" # Location of the package.json file
12+
schedule:
13+
interval: "weekly"
14+
15+
# Optional: For GitHub Actions dependencies
16+
- package-ecosystem: "github-actions"
17+
directory: "/" # Location of the .github/workflows directory
18+
schedule:
19+
interval: "weekly"

.github/workflows/stale.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ jobs:
2626
stale-pr-message: 'This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
2727
stale-issue-label: 'no-issue-activity'
2828
stale-pr-label: 'no-pr-activity'
29+
days-before-stale: 30 # Added parameter to control inactivity period
30+
days-before-close: 7 # Optional: Time after marking stale before closing

.github/workflows/welcome-pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Welcome to the Microsoft Generative AI
1+
name: Welcome to the Microsoft Generative AI
22
on:
33
# Trigger the workflow on pull request
44
pull_request_target:
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88
pull-requests: write
99
jobs:
10-
asses-pull-request:
10+
assess-pull-request:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Add Label and thanks comment to Pull request
@@ -30,5 +30,5 @@ jobs:
3030
- name: Auto-assign issue
3131
uses: pozil/auto-assign-issue@v1
3232
with:
33-
repo-token: ${{ secrets.GITHUB_TOKEN }}
33+
repo-token: ${{ secrets.GITHUB_TOKEN }}
3434
assignees: koreyspace

0 commit comments

Comments
 (0)