Skip to content

Commit

Permalink
Merge pull request #2 from chocolatey-community/repo-sync/github/default
Browse files Browse the repository at this point in the history
(maint) Synced file(s) with chocolatey/.github
  • Loading branch information
pauby authored Oct 31, 2022
2 parents c1992f5 + 5692cde commit c28a2fd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync labels
on:
workflow_dispatch:
schedule:
# Run at the end of the day (most likely UTC)
- cron: "0 0 * * *"

jobs:
labels:
# We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
runs-on: ubuntu-latest

steps:
# uncomment the uses line if additional configuration in the current
# repository is used.
#- uses: actions/[email protected]
- uses: EndBug/[email protected]
with:
config-file: |
https://raw.githubusercontent.com/chocolatey/.github/master/.github/labels.yml
request-token: ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
delete-other-labels: true # After initial run, and verification change this to true
dry-run: false
token: ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,3 +565,9 @@ Returns the list of the packages which have `update.ps1` script in its directory
Helper scripts to make maintaining packages using AU even easier
- [Chocolatey Core Community Maintainers Team Packages](https://github.com/chocolatey/chocolatey-coreteampackages)
The [largest](https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f) repository of AU packages by far

## Repository

### Labels

The labels for this repository are synchronized from the [`chocolatey/.github`](https://github.com/chocolatey/.github) repository. Any labels not part of that configuration will be deleted. If you need to create additional labels, please follow the instructions for doing so over in that repository.

0 comments on commit c28a2fd

Please sign in to comment.