Giter Club home page Giter Club logo

github-terraform-task-artemvoloshyn's Introduction

Task on Terraform Topic

Write Terraform code that configures the GitHub repository according to the following requirements, execute it and save your Terraform code in a repository secret named TERRAFORM.

  1. The GitHub repository should assign user softservedata as a collaborator.

  2. A branch named develop should be created as default branch.

  3. Protect the main and develop branches according to these rules:

  • a user cannot merge into both branches without a pull request
  • merging into the develop branch is allowed only if there are two approvals
  • merging into the main branch is allowed only if the owner has approved the pull request
  • assign the user softservedata as the code owner for all the files in the main branch
  1. A pull request template (pull_request_template.md) should be added to the .github directory to allow users to create an issue in the required format:

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests
  • Do we need to implement analytics?
  • Will this be part of a product update? If yes, please write one phrase about this update
  1. A deploy key named DEPLOY_KEY should be added to the repository.

  2. Create a Discord server and enable notifications when a pull request is created.

  3. For GitHub actions, perform the following:

  • create PAT (Personal Access Token) with Full control of private repositories and Full control of orgs and teams, read and write org projects
  • add the PAT to the repository actions secrets key with the name PAT and the value of the created PAT.

github-terraform-task-artemvoloshyn's People

Contributors

artemvoloshyn avatar github-classroom[bot] avatar

Forkers

artemvoloshyn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.