Просмотр исходного кода

chore(sync): synced file(s) with dgibbs64/repo-sync (#4949)

* chore(sync): synced local '.github/' with remote 'general/.github/'

Synced from dgibbs64/repo-sync@a9c30906936debce9e57a782eb8896ddb4601fbb — Merge pull request #18 from dgibbs64/chore/remove-dependabot-automerge

chore(workflows): remove dependabot auto-merge workflow

* chore(sync): synced local './' with remote 'bash/'

Synced from dgibbs64/repo-sync@a9c30906936debce9e57a782eb8896ddb4601fbb — Merge pull request #18 from dgibbs64/chore/remove-dependabot-automerge

chore(workflows): remove dependabot auto-merge workflow

* Add permissions for pull-requests in workflow

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Daniel Gibbs 2 недель назад
Родитель
Сommit
be029422df
1 измененных файлов с 25 добавлено и 0 удалено
  1. 25 0
      .github/workflows/action-update-copyright-years-in-license-file.yml

+ 25 - 0
.github/workflows/action-update-copyright-years-in-license-file.yml

@@ -0,0 +1,25 @@
+name: Update copyright year(s) in license file
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "0 3 1 1 *" # 03:00 AM on January 1
+
+permissions:
+  contents: write
+  pull-requests: write
+
+jobs:
+  update-license-year:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v7
+        with:
+          fetch-depth: 0
+          persist-credentials: false
+      - name: Action Update License Year
+        uses: FantasticFiasco/action-update-license-year@v3
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          path: LICENSE.md