Browse Source

Merge pull request #4790 from mailcow/staging

Automatic PR to nightly from 2022-10-09T11:34:14Z
Niklas Meyer 2 years ago
parent
commit
bae1d1c047

+ 13 - 0
.github/ISSUE_TEMPLATE/pr_to_nighty_template.yml

@@ -0,0 +1,13 @@
+## :memo:  Brief description
+<!-- Diff summary - START -->
+<!-- Diff summary - END -->
+
+
+## :computer:  Commits
+<!-- Diff commits - START -->
+<!-- Diff commits - END -->
+
+
+## :file_folder:  Modified files
+<!-- Diff files - START -->
+<!-- Diff files - END -->

+ 4 - 4
.github/workflows/pr_to_nightly.yml

@@ -8,18 +8,18 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
       - name: Checkout repository
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
       - name: Run the Action
       - name: Run the Action
         uses: devops-infra/action-pull-request@v0.5.0
         uses: devops-infra/action-pull-request@v0.5.0
         with:
         with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          github_token: ${{ secrets.PRTONIGHTLY_ACTION_PAT }}
           title: Automatic PR to nightly from ${{ github.event.repository.updated_at}}
           title: Automatic PR to nightly from ${{ github.event.repository.updated_at}}
           assignee: DerLinkman
           assignee: DerLinkman
           source_branch: staging
           source_branch: staging
           target_branch: nightly
           target_branch: nightly
           reviewer: DerLinkman
           reviewer: DerLinkman
           label: upstream
           label: upstream
-          body: Merge current staging state to nightly branch
-          get_diff: true
+          template: .github/ISSUE_TEMPLATE/pr_to_nighty_template.yml
+          get_diff: true