forked from celestiaorg/celestia-node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from Bidon15/docker-ci
Docker ci
- Loading branch information
Showing
451 changed files
with
36,335 additions
and
15,352 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Docker Build & Publish | ||
|
||
# Trigger on all push events, new semantic version tags, and all PRs | ||
on: | ||
merge_group: | ||
push: | ||
branches: | ||
- "main" | ||
- "*test*" | ||
- "*hotfix*" | ||
- "*alpha*" | ||
- "*beta*" | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" | ||
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" | ||
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" | ||
pull_request: | ||
|
||
jobs: | ||
docker-security-build: | ||
permissions: | ||
contents: write | ||
packages: write | ||
uses: Bidon15/.celestia-github/.github/workflows/reusable_dockerfile_pipeline.yml@v0.2.8 # yamllint disable-line rule:line-length | ||
with: | ||
dockerfile: Dockerfile |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Label Automation | ||
on: | ||
# Using pull_request_target for forks since labels are not a security issue | ||
pull_request_target: | ||
types: [opened] | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
automate-labels: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Check for External Contributor | ||
uses: tspascoal/get-user-teams-membership@v3 | ||
id: teamCheck | ||
with: | ||
username: ${{ github.actor }} | ||
team: "celestia-node" | ||
GITHUB_TOKEN: ${{ secrets.PAT_TEAM_CHECK }} | ||
|
||
# For issues we want to add a `needs:triage` label if it is unlabeled | ||
- name: Triage labeling | ||
if: ${{ github.event_name == 'issues' }} | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "needs:triage" | ||
ignore-if-labeled: true | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# For both issues and PRs we want to add the `external` label if the | ||
# author is not a member of the node team | ||
- name: External labeling | ||
if: ${{ steps.teamCheck.outputs.isTeamMember == 'false' }} | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "external" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 8 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
days-before-close: 14 | ||
days-before-issue-stale: 90 | ||
days-before-issue-close: 21 | ||
exempt-issue-labels: 'keep-open' | ||
start-date: '2023-09-01T00:00:00Z' |
Oops, something went wrong.