Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions patches/nextcloud/sync-workflow-templates.yml.patch
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
+ working-directory: source
+ shell: bash
+ run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- repository: nextcloud/.github
- repository: ${{ github.repository_owner }}/.github

- name: Checkout app
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -225,7 +225,7 @@
- echo "ℹ️ Locked version: $locked_version"
- echo "ℹ️ Current version: $new_version"
- echo "🆙 Updating existing workflow: $filename"
- echo "- 🆙 Updated [$filename](https://github.com/nextcloud/.github/commits/master/workflow-templates/$filename)" >> $GITHUB_ENV
- echo "- 🆙 Updated [$filename](https://github.com/${GITHUB_REPOSITORY_OWNER}/.github/commits/HEAD/workflow-templates/$filename)" >> $GITHUB_ENV
-
- cp "$workflow" "$target_file"
-
Expand Down Expand Up @@ -283,7 +283,7 @@
body: |
+ Automated update of workflow templates from [LibreCodeCoop/.github](https://github.com/LibreCodeCoop/.github)
+ ${{ steps.sync.outputs.summary }}
- Automated update of all workflow templates from [nextcloud/.github](https://github.com/nextcloud/.github)
- Automated update of all workflow templates from [${{ github.repository_owner }}/.github](https://github.com/${{ github.repository_owner }}/.github)
- ${{ env.SUMMARY }}
labels: |
dependencies
Expand Down
4 changes: 2 additions & 2 deletions upstream/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
"repository": "nextcloud/.github",
"ref": "master",
"path": "workflow-templates/sync-workflow-templates.yml",
"url": "https://raw.githubusercontent.com/nextcloud/.github/593089b25a456dc70dc66eb09efb35de69a5f621/workflow-templates/sync-workflow-templates.yml",
"sha256": "afeb694de2555c139e5fdfbbbe8e6af32ab609ba7eee2d32cc894872a6a3ac7d",
"url": "https://raw.githubusercontent.com/nextcloud/.github/aa3183919788c6c6445aa5f2d72761f40ec228db/workflow-templates/sync-workflow-templates.yml",
"sha256": "1a49877a71815aceb4fed3a97dbdc8eb0e44259cf67a43a771f9cc1b0ddaed45",
"destination": "upstream/vendor/nextcloud/sync-workflow-templates.yml"
},
{
Expand Down
6 changes: 3 additions & 3 deletions upstream/vendor/nextcloud/sync-workflow-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
persist-credentials: false
path: source
repository: nextcloud/.github
repository: ${{ github.repository_owner }}/.github

- name: Checkout app
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
echo "ℹ️ Locked version: $locked_version"
echo "ℹ️ Current version: $new_version"
echo "🆙 Updating existing workflow: $filename"
echo "- 🆙 Updated [$filename](https://github.com/nextcloud/.github/commits/master/workflow-templates/$filename)" >> $GITHUB_ENV
echo "- 🆙 Updated [$filename](https://github.com/${GITHUB_REPOSITORY_OWNER}/.github/commits/HEAD/workflow-templates/$filename)" >> $GITHUB_ENV

cp "$workflow" "$target_file"

Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
draft: ${{ env.DRAFT_ONLY == 1 }}
add-paths: .github/workflows/*.yml,.github/actions-lock.txt
body: |
Automated update of all workflow templates from [nextcloud/.github](https://github.com/nextcloud/.github)
Automated update of all workflow templates from [${{ github.repository_owner }}/.github](https://github.com/${{ github.repository_owner }}/.github)
${{ env.SUMMARY }}
labels: |
dependencies
Expand Down
Loading