diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index 4c02646..6b00026 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -1,12 +1,12 @@ -name: docker-hub +name: Docker Hub on: - push: - branches: [ master ] - paths: - - Dockerfile - - entrypoint.* - - requirements.txt + # push: + # branches: [ master ] + # paths: + # - Dockerfile + # - entrypoint.* + # - requirements.txt workflow_dispatch: env: diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5885efa..5401c08 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,4 +1,4 @@ -name: docker-publish +name: Docker Publish on: push: diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml index c9b168f..c4bd662 100644 --- a/.github/workflows/lock-threads.yml +++ b/.github/workflows/lock-threads.yml @@ -1,22 +1,34 @@ -name: 'lock-threads' +name: Lock Threads on: + push: + paths: + - .github/workflows/lock-threads.yml + branches-ignore: + - dependabot/** schedule: - - cron: '0 9 * * *' - workflow_dispatch: + # Once every day at 1am UTC + - cron: "0 1 * * *" + issue_comment: permissions: issues: write pull-requests: write concurrency: - group: lock - cancel-in-progress: true + group: lock-threads + cancel-in-progress: ${{ github.event_name != 'issue_comment' }} jobs: - action: + lock-threads: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v5 + - name: Lock Outdated Threads + uses: dessant/lock-threads@v5 with: + github-token: ${{ secrets.GITHUB_TOKEN }} process-only: 'issues, prs' + issue-inactive-days: 30 + add-issue-labels: outdated + pr-inactive-days: 30 + add-pr-labels: outdated diff --git a/.github/workflows/shiftleft-analysis.yml b/.github/workflows/shiftleft-analysis.yml index 062b82c..6e09bd1 100644 --- a/.github/workflows/shiftleft-analysis.yml +++ b/.github/workflows/shiftleft-analysis.yml @@ -1,4 +1,4 @@ -name: shiftleft-scan +name: ShiftLeft Scan on: pull_request @@ -17,7 +17,7 @@ jobs: with: output: reports - - name: Upload report + - name: Upload Report uses: github/codeql-action/upload-sarif@v3 with: sarif_file: reports diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 0000000..e5121a9 --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,39 @@ +name: Manage Stale Issues + +on: + push: + paths: + - .github/workflows/stale-issues.yml + branches-ignore: + - dependabot/** + schedule: + # Once every day at midnight UTC + - cron: "0 0 * * *" + issue_comment: + +permissions: + issues: write + pull-requests: write + +concurrency: + group: stale-issues + cancel-in-progress: ${{ github.event_name != 'issue_comment' }} + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Mark/Close Stale Issues and Pull Requests + uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 21 + days-before-close: 7 + stale-issue-message: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. + stale-pr-message: > + This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. + exempt-issue-labels: "help wanted,in progress" + exempt-pr-labels: "help wanted,in progress" diff --git a/.github/workflows/update-license.yml b/.github/workflows/update-license.yml index d273b7f..9ff80bb 100644 --- a/.github/workflows/update-license.yml +++ b/.github/workflows/update-license.yml @@ -1,4 +1,4 @@ -name: update-copyright-year +name: Update License on: schedule: @@ -15,7 +15,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} commitAuthorEmail: noreply@github.com - - name: Merge pull request + - name: Merge Pull Request env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff --git a/README.md b/README.md index e8fa096..0ba3dd4 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ Then you can use it as a service from any Docker orchestration tools. ## Examples -[AWS Elastic Container Service (ECS)](https://aws.amazon.com/ecs/) -[Azure Container Service (ACS)](https://azure.microsoft.com/en-us/blog/azure-container-service-preview/) -[Cloud Foundry’s Diego](https://docs.cloudfoundry.org/concepts/diego/diego-architecture.html) -[CoreOS Fleet](https://coreos.com/using-coreos/clustering/) -[Docker Swarm](https://www.docker.com/products/docker-swarm) -[Google Container Engine](https://cloud.google.com/container-engine/) -[Kubernetes](https://kubernetes.io) -[Mesosphere Marathon](https://mesosphere.github.io/marathon/) +- [AWS Elastic Container Service (ECS)](https://aws.amazon.com/ecs/) +- [Azure Container Service (ACS)](https://azure.microsoft.com/en-us/blog/azure-container-service-preview/) +- [Cloud Foundry’s Diego](https://docs.cloudfoundry.org/concepts/diego/diego-architecture.html) +- [CoreOS Fleet](https://coreos.com/using-coreos/clustering/) +- [Docker Swarm](https://www.docker.com/products/docker-swarm) +- [Google Container Engine](https://cloud.google.com/container-engine/) +- [Kubernetes](https://kubernetes.io) +- [Mesosphere Marathon](https://mesosphere.github.io/marathon/) Source: [8 Container Orchestration Tools to Know](https://www.linux.com/NewS/8-OPEN-SOURCE-CONTAINER-ORCHESTRATION-TOOLS-KNOW)