Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump TimonVS/pr-labeler-action from 4.1.1 to 5.0.0 #8

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

Bumps TimonVS/pr-labeler-action from 4.1.1 to 5.0.0.

Release notes

Sourced from TimonVS/pr-labeler-action's releases.

v5.0.0

What's Changed

Full Changelog: TimonVS/pr-labeler-action@v4.1.0...v5.0.0

Commits
  • f9c0843 Merge pull request #84 from TimonVS/dev
  • ef23a54 Remove license status workflow
  • 9986c76 Update CI to use Node.js 20
  • 2e9ee64 Merge pull request #85 from TimonVS/dev-licenses
  • 8b84eed Auto-update license files
  • 09e7663 Configure Action for Node.js 20 support and upgrade dependencies
  • 9de3270 Merge pull request #76 from TimonVS/chore/update-licensed-ci
  • d9cbeae Merge pull request #77 from TimonVS/chore/update-licensed-ci-licenses
  • 0d94c67 Auto-update license files
  • ba80787 Update Licenced CI workflow
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [TimonVS/pr-labeler-action](https://github.com/timonvs/pr-labeler-action) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/timonvs/pr-labeler-action/releases)
- [Commits](TimonVS/pr-labeler-action@v4.1.1...v5.0.0)

---
updated-dependencies:
- dependency-name: TimonVS/pr-labeler-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies github_actions Pull requests that update GitHub Actions code labels Feb 12, 2024
@hutchic hutchic enabled auto-merge (squash) February 12, 2024 03:12
@hutchic
Copy link
Contributor

hutchic commented Feb 12, 2024

Template Repository Sync Report

Found 10 files to update in 1 repositories

temp

.releaserc
--- .releaserc
+++ .releaserc
@@ -0,0 +1,45 @@
+{
+  "branches": ["main"],
+  "tagFormat": "${version}",
+  "repositoryUrl": "https://github.com/hutchic-org/template-ghcr-release.git",
+  "plugins": [
+    [
+      "@semantic-release/commit-analyzer",
+      {
+        "preset": "conventionalcommits",
+        "releaseRules": [
+          { "breaking": true, "release": "major" },
+          { "revert": true, "release": "patch" },
+          { "type": "build", "release": "patch" },
+          { "type": "docs", "release": "patch" },
+          { "type": "feat", "release": "minor" },
+          { "type": "fix", "release": "patch" },
+          { "type": "perf", "release": "patch" },
+          { "type": "refactor", "release": "patch" },
+          { "type": "chore", "release": "patch" }
+        ]
+      }
+    ],
+    [
+      "@semantic-release/release-notes-generator",
+      {
+        "preset": "conventionalcommits",
+        "presetConfig": {
+          "types": [
+            { "type": "build", "section": "Build", "hidden": false },
+            { "type": "chore", "section": "Chores", "hidden": false },
+            { "type": "ci", "section": "CI/CD", "hidden": false },
+            { "type": "docs", "section": "Docs", "hidden": false },
+            { "type": "feat", "section": "Features", "hidden": false },
+            { "type": "fix", "section": "Bug Fixes", "hidden": false },
+            { "type": "perf", "section": "Performance", "hidden": false },
+            { "type": "refactor", "section": "Refactor", "hidden": false },
+            { "type": "style", "section": "Code Style", "hidden": false },
+            { "type": "test", "section": "Tests", "hidden": false }
+          ]
+        }
+      }
+    ],
+    "@semantic-release/github",
+  ]
+}
.github/labeler.yml
--- .github/labeler.yml
+++ .github/labeler.yml
@@ -0,0 +1,9 @@
+---
+csv:
+- '**/*.csv'
+docs:
+- '**/*.md'
+github_actions:
+- .github/**
+python:
+- '**/*.py'
.github/pr-labeler.yml
--- .github/pr-labeler.yml
+++ .github/pr-labeler.yml
@@ -0,0 +1,3 @@
+---
+bug: [bug/*, fix/*]
+feature: [feature/*, feat/*]
.github/settings.yml
--- .github/settings.yml
+++ .github/settings.yml
@@ -0,0 +1,142 @@
+# These settings are synced to GitHub by https://probot.github.io/apps/settings/
+
+repository:
+  # See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings.
+
+  # The name of the repository. Changing this will rename the repository
+  # name: repo-name
+
+  # A short description of the repository that will show up on GitHub
+  # description: description of repo
+
+  # A URL with more information about the repository
+  # homepage: https://example.github.io/
+
+  # A comma-separated list of topics to set on the repository
+  # topics: github, probot
+
+  # Either `true` to make the repository private, or `false` to make it public.
+  private: false
+
+  # Either `true` to enable issues for this repository, `false` to disable them.
+  has_issues: false
+
+  # Either `true` to enable projects for this repository, or `false` to disable them.
+  # If projects are disabled for the organization, passing `true` will cause an API error.
+  has_projects: false
+
+  # Either `true` to enable the wiki for this repository, `false` to disable it.
+  has_wiki: false
+
+  # Either `true` to enable downloads for this repository, `false` to disable them.
+  has_downloads: true
+
+  # Updates the default branch for this repository.
+  default_branch: main
+
+  # Either `true` to allow squash-merging pull requests, or `false` to prevent
+  # squash-merging.
+  allow_squash_merge: true
+
+  # Either `true` to allow merging pull requests with a merge commit, or `false`
+  # to prevent merging pull requests with merge commits.
+  allow_merge_commit: false
+
+  # Either `true` to allow rebase-merging pull requests, or `false` to prevent
+  # rebase-merging.
+  allow_rebase_merge: true
+
+  # Either `true` to enable automatic deletion of branches on merge, or `false` to disable
+  delete_branch_on_merge: true
+
+  # Either `true` to enable automated security fixes, or `false` to disable
+  # automated security fixes.
+  enable_automated_security_fixes: true
+
+  # Either `true` to enable vulnerability alerts, or `false` to disable
+  # vulnerability alerts.
+  enable_vulnerability_alerts: true
+
+# Labels: define labels for Issues and Pull Requests
+# labels:
+#  - name: bug
+#    color: CC0000
+#    description: An issue with the system 🐛.
+
+#  - name: feature
+    # If including a `#`, make sure to wrap it with quotes!
+#    color: '#336699'
+#    description: New functionality.
+
+#  - name: Help Wanted
+    # Provide a new name to rename an existing label
+#    new_name: first-timers-only
+
+# Milestones: define milestones for Issues and Pull Requests
+# milestones:
+#  - title: milestone-title
+#    description: milestone-description
+    # The state of the milestone. Either `open` or `closed`
+#    state: open
+
+# Collaborators: give specific users access to this repository.
+# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options
+# collaborators:
+  # - username: bkeepers
+  #   permission: push
+  # - username: hubot
+  #   permission: pull
+
+  # Note: `permission` is only valid on organization-owned repositories.
+  # The permission to grant the collaborator. Can be one of:
+  # * `pull` - can pull, but not push to or administer this repository.
+  # * `push` - can pull and push, but not administer this repository.
+  # * `admin` - can pull, push and administer this repository.
+  # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
+  # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
+
+# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
+# teams:
+#  - name: core
+    # The permission to grant the team. Can be one of:
+    # * `pull` - can pull, but not push to or administer this repository.
+    # * `push` - can pull and push, but not administer this repository.
+    # * `admin` - can pull, push and administer this repository.
+    # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
+    # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
+#    permission: admin
+#  - name: docs
+#    permission: push
+
+branches:
+  - name: main
+    # https://docs.github.com/en/rest/reference/repos#update-branch-protection
+    # Branch Protection settings. Set to null to disable
+    protection:
+      # Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
+      required_pull_request_reviews: null
+        # The number of approvals required. (1-6)
+#        required_approving_review_count: 1
+        # Dismiss approved reviews automatically when a new commit is pushed.
+#        dismiss_stale_reviews: true
+        # Blocks merge until code owners have reviewed.
+#        require_code_owner_reviews: true
+        # Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
+#        dismissal_restrictions:
+#          users: []
+#          teams: []
+      # Required. Require status checks to pass before merging. Set to null to disable
+      required_status_checks:
+        # Required. Require branches to be up to date before merging.
+        strict: true
+        # Required. The list of status checks to require in order to merge into this branch
+        contexts: [pre-commit, sync, release]
+      # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
+      enforce_admins: null
+      # Prevent merge commits from being pushed to matching branches
+      required_linear_history: true
+      # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
+      restrictions: null
+#        apps: []
+#        users: []
+#        teams: []
.github/workflows/automerge.yml
--- .github/workflows/automerge.yml
+++ .github/workflows/automerge.yml
@@ -0,0 +1,31 @@
+---
+# This file is sync'd from https://github.com/hutchic-org/template-template
+# Do not edit this file from anywhere else but that repository it will be overwritten
+name: Auto Actions
+
+on: pull_request_target # yamllint disable-line rule:truthy
+
+permissions:
+  contents: write
+  pull-requests: write
+
+jobs:
+  dependabot-automerge:
+    runs-on: ubuntu-latest
+    if: ${{ github.actor == 'dependabot[bot]' }}
+    steps:
+    - name: Gather Dependabot metadata
+      id: metadata
+      uses: dependabot/fetch-metadata@v1.6.0
+      with:
+        github-token: ${{ secrets.GITHUB_TOKEN }}
+    - name: Approve PR
+      run: gh pr review --approve "$PR_URL"
+      env:
+        PR_URL: ${{github.event.pull_request.html_url}}
+        GITHUB_TOKEN: ${{secrets.AUTO_MERGE_TOKEN}}
+    - name: Enable auto-merge
+      run: gh pr merge --auto --squash "$PR_URL"
+      env:
+        PR_URL: ${{github.event.pull_request.html_url}}
+        GITHUB_TOKEN: ${{secrets.AUTO_MERGE_TOKEN}}
.github/workflows/autoupdate.yml
--- .github/workflows/autoupdate.yml
+++ .github/workflows/autoupdate.yml
@@ -0,0 +1,22 @@
+---
+# This file is sync'd from https://github.com/hutchic-org/template-template
+# Do not edit this file from anywhere else but that repository it will be overwritten
+name: Auto update PR's
+
+on: # yamllint disable-line rule:truthy
+  push:
+    branches:
+      - 'main'
+jobs:
+  autoupdate:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Automatically update PR
+        uses: adRise/update-pr-branch@v0.7.0
+        with:
+          token: ${{ secrets.AUTO_MERGE_TOKEN }}
+          base: 'main'
+          required_approval_count: 0
+          require_passed_checks: true
+          sort: 'created'
+          direction: 'desc'
.github/workflows/labeller.yml
--- .github/workflows/labeller.yml
+++ .github/workflows/labeller.yml
@@ -0,0 +1,18 @@
+---
+name: Pull Request Labeler
+
+on: [pull_request] # yamllint disable-line rule:truthy
+
+jobs:
+  label:
+    name: auto label
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@v5
+      continue-on-error: true
+      with:
+        repo-token: ${{ secrets.AUTO_MERGE_TOKEN }}
+    - uses: TimonVS/pr-labeler-action@v5.0.0
+      continue-on-error: true
+      env:
+        GITHUB_TOKEN: ${{ secrets.AUTO_MERGE_TOKEN }}
.github/workflows/pre-commit.yml
--- .github/workflows/pre-commit.yml
+++ .github/workflows/pre-commit.yml
@@ -0,0 +1,27 @@
+---
+name: pre-commit
+
+on:  # yamllint disable-line rule:truthy
+  pull_request:
+
+jobs:
+  lint-pr-title:
+    name: Validate PR titles
+    runs-on: ubuntu-latest
+    if: ${{ github.actor != 'pull[bot]' }}
+    steps:
+    - run: echo "$github.actor"
+    - uses: amannn/action-semantic-pull-request@v5.4.0
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+  pre-commit:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v4.1.1
+    - uses: actions/setup-python@v5.0.0
+      with:
+        python-version: '3.8'
+    - run: pip install 'virtualenv<20.11.0'
+    - uses: pre-commit/action@v3.0.1
+      with:
+        token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/release.yml
--- .github/workflows/release.yml
+++ .github/workflows/release.yml
@@ -0,0 +1,66 @@
+name: Release
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - main
+  pull_request:
+    branches:
+      - main
+
+permissions:
+  packages: write
+  contents: write
+  pull-requests: write
+  issues: write
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Checkout code
+      uses: actions/checkout@v4
+
+    - name: Setup Docker Buildx
+      uses: docker/setup-buildx-action@v3
+
+    - name: Login to GitHub Container Registry
+      uses: docker/login-action@v3
+      with:
+        registry: ghcr.io
+        username: ${{ github.actor }}
+        password: ${{ secrets.GITHUB_TOKEN }}
+
+    - name: Github Release
+      id: release
+      uses: ahmadnassri/action-semantic-release@v2.2.8
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+    - name: Set Docker tags
+      id: set_tags
+      run: |
+        if [ "${{ steps.release.outputs.release-version }}" != "" ]; then
+          echo "TAGS=type=raw,value=latest,type=sha,type=semver,pattern={{version}},value=${{ steps.release.outputs.release-version }}" >> $GITHUB_ENV
+        else
+          echo "TAGS=type=raw,value=latest,type=sha" >> $GITHUB_ENV
+        fi
+
+    - name: Docker meta
+      id: meta
+      uses: docker/metadata-action@v5
+      with:
+        images: ghcr.io/hutchic-org/${{ github.event.repository.name }}
+        tags: ${{ env.TAGS }}
+
+    - name: Build and Push Docker image
+      if: ${{ steps.release.outputs.release-version != '' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
+      uses: docker/build-push-action@v5
+      with:
+        context: ./
+        push: true
+        tags: ${{ steps.meta.outputs.tags }}
+        labels: ${{ steps.meta.outputs.labels }}
+        cache-from: type=gha,ref=ghcr.io/hutchic-org/${{ github.event.repository.name }}
+        cache-to: type=gha,mode=max
.github/workflows/sync.yml
--- .github/workflows/sync.yml
+++ .github/workflows/sync.yml
@@ -0,0 +1,21 @@
+---
+name: Sync the template repository
+
+on: # yamllint disable-line rule:truthy
+  pull_request:
+  push:
+    branches: main
+
+jobs:
+  sync:
+    runs-on: ubuntu-latest
+
+    steps:
+    - name: Queue
+      uses: ahmadnassri/action-workflow-queue@v1.2
+    - name: Checkout
+      uses: actions/checkout@v4.1.1
+    - name: Sync
+      uses: ahmadnassri/action-template-repository-sync@v2.5.0
+      with:
+        github-token: ${{ secrets.GH_TOKEN }}

@hutchic hutchic merged commit 03e1d7f into main Feb 12, 2024
6 checks passed
@hutchic hutchic deleted the dependabot/github_actions/TimonVS/pr-labeler-action-5.0.0 branch February 12, 2024 03:12
Copy link
Contributor

🎉 This PR is included in version 1.0.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies github_actions Pull requests that update GitHub Actions code released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant