Skip to content

Commit 764cf4c

Browse files
committed
Updated workflows to use new token, modified legal.md to reflect updates to Legal. Prettier formatting changed.
1 parent 74a6e5b commit 764cf4c

29 files changed

+971
-1013
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 235 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
2+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
3+
# This file is part of Network Pro
4+
5+
blank_issues_enabled: true
6+
contact_links:
7+
- name: 🐛 File a Bug Report
8+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=bug_report.yml
9+
about: Please open all bug reports in the main repository.
10+
11+
- name: ✨ Feature Request
12+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=feature_request.yml
13+
about: Suggest new or updated features in the main repository.
14+
15+
- name: ⚖️ Legal or Compliance Issue
16+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=legal_review.yml
17+
about: Raise legal or policy-related issues centrally.
18+
19+
- name: Ask the Community
20+
url: https://discuss.neteng.pro
21+
about: Join the GitHub Discussions forum to get support from the community.
22+
23+
- name: Stack Overflow (Internal Team)
24+
url: https://stack.neteng.pro
25+
about:
26+
Search or post questions in our internal Stack Overflow for Teams
27+
instance.
28+
29+
- name: Contact Network Pro
30+
url: https://netwk.pro/contact?utm_source=github
31+
about: Contact us directly for help or private inquiries.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/auto-assign.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@
66
# This workflow will auto-assign an issue or PR to a specific user
77
# when a new issue or PR is opened.
88

9-
name: Auto Assign
9+
name: 'Auto Assign'
1010

1111
on:
1212
issues:
1313
types: [opened]
1414
pull_request:
1515
types: [opened, edited, synchronize, reopened]
1616

17+
permissions:
18+
issues: write
19+
contents: read
20+
pull-requests: write
21+
1722
jobs:
1823
auto-assign:
1924
runs-on: ubuntu-24.04
2025

21-
permissions:
22-
issues: write
23-
pull-requests: write
24-
2526
steps:
26-
- name: Auto-assign issue or PR
27+
- name: 'Auto-assign issue or PR'
2728
uses: pozil/auto-assign-issue@v2
2829
with:
29-
repo-token: ${{ secrets.GH_PAT }}
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
3031
assignees: SunDevil311
3132
numOfAssignee: 1
3233
allowSelfAssign: true
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# .github/workflows/backup-branch.yml
2+
#
3+
# Syncs backup/nightly-snapshot branch with master every day at 10:00 UTC.
4+
# Only triggers on the default branch and not on PRs
5+
#
6+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
7+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
8+
# This file is part of Network Pro
9+
10+
name: Nightly Backup Branch Sync
11+
12+
on:
13+
schedule:
14+
- cron: '30 10 * * *' # Every day at 10:30 AM UTC (3:30 AM MST)
15+
workflow_dispatch: # Allow manual triggering too
16+
17+
permissions:
18+
contents: write
19+
20+
jobs:
21+
sync-backup:
22+
name: Sync backup/nightly-snapshot to master
23+
runs-on: ubuntu-24.04
24+
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
25+
26+
steps:
27+
- name: Checkout master branch
28+
uses: actions/checkout@v4
29+
with:
30+
ref: master
31+
fetch-depth: 0 # Required to push to another branch
32+
33+
- name: Set up Git
34+
run: |
35+
git config user.name "SunDevil311"
36+
git config user.email "github@sl.neteng.cc"
37+
38+
- name: Force-push to backup/nightly-snapshot
39+
run: |
40+
git push --force origin HEAD:refs/heads/backup/nightly-snapshot

0 commit comments

Comments
 (0)