pax_global_header00006660000000000000000000000064151751716700014524gustar00rootroot0000000000000052 comment=7d20602453b3a5ad9eda401510ea53522c611ee3 etcd-io-etcd-5122926/000077500000000000000000000000001517517167000141615ustar00rootroot00000000000000etcd-io-etcd-5122926/.github/000077500000000000000000000000001517517167000155215ustar00rootroot00000000000000etcd-io-etcd-5122926/.github/ISSUE_TEMPLATE.md000066400000000000000000000000711517517167000202240ustar00rootroot00000000000000 Please read https://etcd.io/docs/latest/reporting_bugs/ etcd-io-etcd-5122926/.github/ISSUE_TEMPLATE/000077500000000000000000000000001517517167000177045ustar00rootroot00000000000000etcd-io-etcd-5122926/.github/ISSUE_TEMPLATE/distributors-application.md000066400000000000000000000020121517517167000252570ustar00rootroot00000000000000--- name: Distributors Application title: Distributors Application for about: Apply for membership of security@etcd.io --- **Actively monitored security email alias for our project:** **1. Have a user base not limited to your own organization.** **2. Have a publicly verifiable track record up to present day of fixing security issues.** **3. Not be a downstream or rebuild of another distribution.** **4. Be a participant and active contributor in the community.** **5. Accept the Embargo Policy.** **6. Be willing to contribute back.** **7. Have someone already on the list vouch for the person requesting membership on behalf of your distribution.** etcd-io-etcd-5122926/.github/PULL_REQUEST_TEMPLATE.md000066400000000000000000000001321517517167000213160ustar00rootroot00000000000000 Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow. etcd-io-etcd-5122926/.github/SECURITY.md000066400000000000000000000001131517517167000173050ustar00rootroot00000000000000 Please read https://github.com/etcd-io/etcd/blob/main/security/README.md. etcd-io-etcd-5122926/.github/stale.yml000066400000000000000000000037041517517167000173600ustar00rootroot00000000000000# Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 90 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. daysUntilClose: 21 # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) onlyLabels: [] # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - "area/security" - "Investigating" # Set to true to ignore issues in a project (defaults to false) exemptProjects: false # Set to true to ignore issues in a milestone (defaults to false) exemptMilestones: false # Set to true to ignore issues with an assignee (defaults to false) exemptAssignees: false # Label to use when marking as stale staleLabel: stale # Comment to post when marking as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. # Comment to post when removing the stale label. # unmarkComment: > # Your comment here. # Comment to post when closing a stale Issue or Pull Request. # closeComment: > # Your comment here. # Limit the number of actions per hour, from 1-30. Default is 30 limitPerRun: 30 # Limit to only `issues` or `pulls` # only: issues # Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': # pulls: # daysUntilStale: 30 # markComment: > # 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. Thank you # for your contributions. # issues: # exemptLabels: # - confirmed etcd-io-etcd-5122926/.github/workflows/000077500000000000000000000000001517517167000175565ustar00rootroot00000000000000etcd-io-etcd-5122926/.github/workflows/codeql-analysis.yml000066400000000000000000000046141517517167000233760ustar00rootroot00000000000000# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # name: "CodeQL" on: push: branches: [ main, release-0.4, release-2.0, release-2.1, release-2.2, release-2.3, release-3.0, release-3.1 ] pull_request: # The branches below must be a subset of the branches above branches: [ main ] schedule: - cron: '20 14 * * 5' jobs: analyze: name: Analyze runs-on: ubuntu-latest strategy: fail-fast: false matrix: language: [ 'go' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - name: Checkout repository uses: actions/checkout@v2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@v1 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines # and modify them (or add more) to build your code if your project # uses a compiled language #- run: | # make bootstrap # make release - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 etcd-io-etcd-5122926/.github/workflows/gh-workflow-approve.yaml000066400000000000000000000023141517517167000243620ustar00rootroot00000000000000--- name: Approve GitHub Workflows permissions: read-all on: pull_request_target: types: - labeled - synchronize jobs: approve: name: Approve ok-to-test if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') runs-on: ubuntu-latest permissions: actions: write steps: - name: Update PR uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 continue-on-error: true with: github-token: ${{ secrets.GITHUB_TOKEN }} debug: ${{ secrets.ACTIONS_RUNNER_DEBUG == 'true' }} script: | const result = await github.rest.actions.listWorkflowRunsForRepo({ owner: context.repo.owner, repo: context.repo.repo, event: "pull_request", status: "action_required", head_sha: context.payload.pull_request.head.sha, per_page: 100 }); for (var run of result.data.workflow_runs) { await github.rest.actions.approveWorkflowRun({ owner: context.repo.owner, repo: context.repo.repo, run_id: run.id }); } etcd-io-etcd-5122926/.github/workflows/verify-released-assets.yaml000066400000000000000000000022531517517167000250320ustar00rootroot00000000000000--- name: Verify released binary assets permissions: read-all on: release: types: [published] jobs: verify-assets: name: Verify released binary assets runs-on: ubuntu-latest steps: - name: Verify binary assets env: GH_TOKEN: ${{ github.token }} RELEASE: ${{ github.event.release.tag_name }} REPOSITORY: ${{ github.repository }} run: | mkdir github-assets pushd github-assets gh --repo "${REPOSITORY}" release download "${RELEASE}" test_assets() { if [ "$(wc -l :