diff --git a/.github/workflows/apply-done-label.yml b/.github/workflows/apply-done-label.yml index 923104c4..2b101f59 100644 --- a/.github/workflows/apply-done-label.yml +++ b/.github/workflows/apply-done-label.yml @@ -10,4 +10,4 @@ jobs: steps: - uses: logerfo/close-label@0.0.4 with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/assign-reviewer.yml b/.github/workflows/assign-reviewer.yml index d4521c2d..bba9cc07 100644 --- a/.github/workflows/assign-reviewer.yml +++ b/.github/workflows/assign-reviewer.yml @@ -12,4 +12,4 @@ jobs: - name: Assign author uses: technote-space/assign-author@v1 with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-rebase-pr.yml b/.github/workflows/auto-rebase-pr.yml index 1ea7aa2b..f08bb70d 100644 --- a/.github/workflows/auto-rebase-pr.yml +++ b/.github/workflows/auto-rebase-pr.yml @@ -15,9 +15,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} fetch-depth: 0 - name: Rebase uses: cirrus-actions/rebase@1.4 env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/auto-tag-pr.yml b/.github/workflows/auto-tag-pr.yml index 73c803fd..b828c82c 100644 --- a/.github/workflows/auto-tag-pr.yml +++ b/.github/workflows/auto-tag-pr.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: butlerlogic/action-autotag@stable with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} strategy: package commit_message_template: "πŸ”– {{number}} {{message}} (by {{author}})\nSHA: {{sha}}\n." mark-issue-fixed: @@ -22,5 +22,5 @@ jobs: - name: Label Fixed Issues uses: gh-bot/fix-labeler@master with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} label: 'βœ… Fixed' diff --git a/.github/workflows/broadcast-message.yml b/.github/workflows/broadcast-message.yml index 46178e59..da0ece17 100644 --- a/.github/workflows/broadcast-message.yml +++ b/.github/workflows/broadcast-message.yml @@ -11,4 +11,4 @@ jobs: steps: - uses: jenschelkopf/broadcast-action@master with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/check-duplicate-issues.yml b/.github/workflows/check-duplicate-issues.yml index 7a3ff582..3641fa78 100644 --- a/.github/workflows/check-duplicate-issues.yml +++ b/.github/workflows/check-duplicate-issues.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: wow-actions/potential-duplicates@v1 with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} filter: '' exclude: '[BUG] [QUESTION] [FEEDBACK] [SHOWCASE]' label: 'πŸ•ΈοΈ Potential Duplicate' diff --git a/.github/workflows/check-merge-conflicts.yml b/.github/workflows/check-merge-conflicts.yml index b193d8ce..d00df142 100644 --- a/.github/workflows/check-merge-conflicts.yml +++ b/.github/workflows/check-merge-conflicts.yml @@ -11,6 +11,6 @@ jobs: - uses: mschilde/auto-label-merge-conflicts@master with: CONFLICT_LABEL_NAME: "🚫 Merge Conflicts" - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} MAX_RETRIES: 5 WAIT_MS: 5000 diff --git a/.github/workflows/close-incomplete-issues.yml b/.github/workflows/close-incomplete-issues.yml index 35cdf3f7..61331f6c 100644 --- a/.github/workflows/close-incomplete-issues.yml +++ b/.github/workflows/close-incomplete-issues.yml @@ -12,7 +12,7 @@ jobs: - name: Automatically close issues that don't follow the issue template uses: lucasbento/auto-close-issues@v1.0.2 with: - github-token: ${{ secrets.BOT_GITHUB_TOKEN }} + github-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} closed-issues-label: 'πŸ™ Auto-Closed' issue-close-message: | Hello @${issue.user.login} πŸ‘‹ diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 86fa3222..24c9545f 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -12,7 +12,7 @@ jobs: - name: Close Stale Issues uses: actions/stale@v4 with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} days-before-stale: 30 days-before-close: 5 operations-per-run: 30 @@ -40,7 +40,7 @@ jobs: - name: Close Issues without Response uses: actions/stale@v4 with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} days-before-stale: 5 days-before-close: 3 operations-per-run: 30 @@ -60,7 +60,7 @@ jobs: - name: Notify Repo Owner to Respond uses: actions/stale@v4 with: - repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} days-before-stale: 7 days-before-close: 365 operations-per-run: 30 diff --git a/.github/workflows/code-spell-check.yml b/.github/workflows/code-spell-check.yml index 8b162f02..0a062445 100644 --- a/.github/workflows/code-spell-check.yml +++ b/.github/workflows/code-spell-check.yml @@ -20,7 +20,7 @@ jobs: uses: peter-evans/create-pull-request@v3.10.1 if: startsWith(github.head_ref, 'AUTO/') == false with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} base: master commit-message: ':pencil2: Auto-fix typos in text' title: '[AUTO] Fix spelling and language' diff --git a/.github/workflows/domain-expirey-check.yml b/.github/workflows/domain-expirey-check.yml index b5d394aa..caf3ad86 100644 --- a/.github/workflows/domain-expirey-check.yml +++ b/.github/workflows/domain-expirey-check.yml @@ -21,7 +21,7 @@ jobs: if: ${{ steps.check-domain.outputs.paid-till-days-left && steps.check-domain.outputs.paid-till-days-left < 30 }} uses: rishabhgupta/git-action-issue@v2 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} assignees: Lissy93 title: '[WEBSITE] Domain Expiring Soon' body: > @@ -33,7 +33,7 @@ jobs: if: ${{ steps.check-domain.outputs.ssl-expire-days-left && steps.check-domain.outputs.ssl-expire-days-left < 14 }} uses: rishabhgupta/git-action-issue@v2 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} assignees: Lissy93 title: '[WEBSITE] SSL Cert Expiring Soon' body: > diff --git a/.github/workflows/generate-credits.yml b/.github/workflows/generate-credits.yml index f701ff32..ebb86f79 100644 --- a/.github/workflows/generate-credits.yml +++ b/.github/workflows/generate-credits.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: bubkoo/contributors-list@v1 with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} svgPath: docs/assets/CONTRIBUTORS.svg affiliation: all includeBots: false @@ -30,12 +30,12 @@ jobs: - name: Generate Sponsors in Readme πŸ’– uses: JamesIves/github-sponsors-readme-action@1.0.5 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} file: 'README.md' - name: Generate Sponsors in Credits πŸ’– uses: JamesIves/github-sponsors-readme-action@1.0.5 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} file: 'docs/credits.md' # Job #3 - Update the Credits page insert-credits: @@ -45,7 +45,7 @@ jobs: - name: Contribute List - Credits Page uses: akhilmhdh/contributors-readme-action@v2.2 env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} with: image_size: 80 readme_path: docs/credits.md @@ -56,7 +56,7 @@ jobs: - name: Sponsors List - Readme uses: akhilmhdh/contributors-readme-action@v2.2 env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} with: image_size: 80 readme_path: README.md @@ -74,7 +74,7 @@ jobs: fetch-depth: 0 - uses: wow-actions/update-authors@v1 with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} sort: commits bots: true path: .github/AUTHORS.txt diff --git a/.github/workflows/issue-spam-control.yml b/.github/workflows/issue-spam-control.yml index 1beb581b..86491c3e 100644 --- a/.github/workflows/issue-spam-control.yml +++ b/.github/workflows/issue-spam-control.yml @@ -19,7 +19,7 @@ jobs: - name: close uses: uhyo/please-star-first@v1 with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} message: | Welcome to Dashy πŸ‘‹ It's great to have you here, but unfortunately your ticket has been closed to prevent spam. Before reopening this issue, please ensure the following criteria are met. diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml index 2f4967c5..c7db30ce 100644 --- a/.github/workflows/issue-translator.yml +++ b/.github/workflows/issue-translator.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: tomsun28/issues-translate-action@v2.5 with: - BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} BOT_LOGIN_NAME: liss-bot IS_MODIFY_TITLE: true CUSTOM_BOT_NOTE: It looks like this issue isn't in English - not a problem, here's the translation! πŸ‡¬πŸ‡§ diff --git a/.github/workflows/label-top-issues.yml b/.github/workflows/label-top-issues.yml index 965f2717..fc6d6ba7 100644 --- a/.github/workflows/label-top-issues.yml +++ b/.github/workflows/label-top-issues.yml @@ -12,7 +12,7 @@ jobs: - name: Label Issues uses: adamzolyak/top-issues-action@master env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} TOP_NUMBER_OF_ISSUES: 10 TOP_LABEL_NAME: "πŸ‘ Top 10 Issue!" TOP_LABEL_COLOR: FBCA04 diff --git a/.github/workflows/manage-pending-labels-closed.yml b/.github/workflows/manage-pending-labels-closed.yml index fa19038b..10a05894 100644 --- a/.github/workflows/manage-pending-labels-closed.yml +++ b/.github/workflows/manage-pending-labels-closed.yml @@ -12,6 +12,6 @@ jobs: uses: actions-cool/issues-helper@v2 with: actions: remove-labels - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: '🚏 Awaiting User Response,⚰️ Stale,πŸ‘€ Awaiting Maintainer Response' diff --git a/.github/workflows/manage-pending-labels.yml b/.github/workflows/manage-pending-labels.yml index 983cdcee..9ade47b0 100644 --- a/.github/workflows/manage-pending-labels.yml +++ b/.github/workflows/manage-pending-labels.yml @@ -13,7 +13,7 @@ jobs: uses: actions-cool/issues-helper@v2 with: actions: remove-labels - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: '🚏 Awaiting User Response,⚰️ Stale' @@ -31,7 +31,7 @@ jobs: uses: actions-cool/issues-helper@v2 with: actions: add-labels - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: 'πŸ‘€ Awaiting Maintainer Response' @@ -43,6 +43,6 @@ jobs: uses: actions-cool/issues-helper@v2 with: actions: remove-labels - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: 'πŸ‘€ Awaiting Maintainer Response' diff --git a/.github/workflows/mind-your-language.yml b/.github/workflows/mind-your-language.yml index ea5a1094..a4bf8590 100644 --- a/.github/workflows/mind-your-language.yml +++ b/.github/workflows/mind-your-language.yml @@ -17,4 +17,4 @@ jobs: - name: Profanity check step uses: tailaiw/mind-your-language-action@v1.0.3 env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/raise-issue-from-todo.yml b/.github/workflows/raise-issue-from-todo.yml index f4afd3d5..18d229f9 100644 --- a/.github/workflows/raise-issue-from-todo.yml +++ b/.github/workflows/raise-issue-from-todo.yml @@ -10,4 +10,4 @@ jobs: uses: "alstr/todo-to-issue-action@v4.2" id: "todo" with: - TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file + TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release-commenter.yml b/.github/workflows/release-commenter.yml index 4a9fe266..4f2ab187 100644 --- a/.github/workflows/release-commenter.yml +++ b/.github/workflows/release-commenter.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: apexskier/github-release-commenter@v1 with: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} label-template: πŸ›©οΈ Released {release_tag}, πŸ”¨ Fixed comment-template: | **The fix for this issue has now been released in {release_name} ✨** diff --git a/.github/workflows/repo-visualization.yml b/.github/workflows/repo-visualization.yml index aaf6a3f7..3d5db92e 100644 --- a/.github/workflows/repo-visualization.yml +++ b/.github/workflows/repo-visualization.yml @@ -46,7 +46,7 @@ jobs: uses: lowlighter/metrics@latest with: token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN }} + committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} committer_branch: master committer_message: ':purple_heart: Adds repo metrics' filename: docs/assets/repo-metrics.* @@ -59,7 +59,7 @@ jobs: uses: lowlighter/metrics@latest with: token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN }} + committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} committer_branch: master committer_message: ':purple_heart: Adds license metrics' filename: docs/assets/license-metrics.* @@ -76,7 +76,7 @@ jobs: uses: lowlighter/metrics@latest with: token: ${{ secrets.LISSY93_PAT }} - committer_token: ${{ secrets.BOT_GITHUB_TOKEN }} + committer_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} committer_branch: master committer_message: ':purple_heart: Adds contributor metrics' filename: docs/assets/controbutor-metrics.* diff --git a/.github/workflows/save-repo-analytics.yml b/.github/workflows/save-repo-analytics.yml index a385d15a..962a09ca 100644 --- a/.github/workflows/save-repo-analytics.yml +++ b/.github/workflows/save-repo-analytics.yml @@ -12,4 +12,4 @@ jobs: with: repository: lissy93/dashy databranch: DATA/repo-stats - ghtoken: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file + ghtoken: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml index c700a967..6825ef3a 100644 --- a/.github/workflows/wiki-sync.yml +++ b/.github/workflows/wiki-sync.yml @@ -13,7 +13,7 @@ jobs: - name: Upload Docs to GH Wiki uses: docker://decathlon/wiki-page-creator-action:latest env: - GH_PAT: ${{ secrets.BOT_GITHUB_TOKEN }} + GH_PAT: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} ACTION_MAIL: alicia-gh-bot@mail.as93.net ACTION_NAME: liss-bot OWNER: Lissy93