Giter Site home page Giter Site logo

vmware-demo's Introduction

awesome-actions

Awesome actions is a repository template that comes with pre-configured GitHub Actions that

Any repository that will use this template as its base will automatically get those workflows enabled. It can be used as a show case on how Open and Inner Source best practices (like welcoming new contributors) as well as bootstrapping project boards can be "codified" and reused and constantly improved as part of a repository template. It also demonstrates how to react on non CI/CD specific events likes issues, pull requests, added stars and peridodic workflow executions.

How to use this repository

Please do not work with this repository directly unless you like to contribute to its core functionality. Instead, please use it as a repository template and create a new repository for yourself based on this template. All you have to do is to click on the green Use this template button above:

image

Actions used in this repository:

  • Greeting on first Issue and PR from this Action
  • Marking issues as stale from this Action
  • Committing back to the repository to change the README file and disable bootstrapping workflows from this Action
  • Creating first issue from a file from this Action

Contributions welcome

If you have any examples for great Actions as part of a repository template to show case the power of Actions outside traditional CI/CD, we are looking forward to your PRs.

Star Gazers

We got a ⭐ from @TimoWilhelm

We got a ⭐ from @schtefan

We got a ⭐ from @andygrunwald

We got a ⭐ from @JeroenKnoops

We got a ⭐ from @npalm

We got a ⭐ from @ajbrown415

We got a ⭐ from @ofuen

We got a ⭐ from @KoonNgee

We got a ⭐ from @jstoobz

We got a ⭐ from @jonico

We got a ⭐ from @CessatL

We got a ⭐ from @elstudio

We got a ⭐ from @conradwt

We got a ⭐ from @mohamedAchour

We got a ⭐ from @timoles

We got a ⭐ from @lazyoracle

We got a ⭐ from @anthonyfok

We got a ⭐ from @Bawanthathilan

We got a ⭐ from @OsirisXTLS

We got a ⭐ from @umenthum

We got a ⭐ from @BuddhikaD

We got a ⭐ from @hikmatfarhat-ndu

We got a ⭐ from @ErgunKargun

We got a ⭐ from @lukedyer-peak

We got a ⭐ from @slange-dev

We got a ⭐ from @Norbinsh

We got a ⭐ from @sergeh

We got a ⭐ from @dlobue

We got a ⭐ from @dacoffey

We got a ⭐ from @MxNxPx

We got a ⭐ from @omearaj

We got a ⭐ from @cameronstew

We got a ⭐ from @SrilalS

We got a ⭐ from @dineshsonachalam

We got a ⭐ from @abirismyname

We got a ⭐ from @tehuelche

We got a ⭐ from @HIMADRI518

We got a ⭐ from @300481

We got a ⭐ from @suhaas

We got a ⭐ from @mvandermeulen

We got a ⭐ from @gscho

We got a ⭐ from @repository-sync

We got a ⭐ from @philspokas

We got a ⭐ from @Siddhesh-Agarwal

We got a ⭐ from @JacquelineFriedberg

We got a ⭐ from @anipind

We got a ⭐ from @neymarsabin

We got a ⭐ from @some-natalie

We got a ⭐ from @austenstone

We got a ⭐ from @dreglad

We got a ⭐ from @lokeshsoni

We got a ⭐ from @sbrinkerhoff

We got a ⭐ from @robert-spring

We got a ⭐ from @milldogtjm

We got a ⭐ from @29rou

We got a ⭐ from @pmanlukas

We got a ⭐ from @Altinger-Robert

We got a ⭐ from @Good4lien

vmware-demo's People

Contributors

good4lien avatar pmanlukas avatar

Stargazers

 avatar  avatar

Watchers

 avatar

vmware-demo's Issues

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

create a number of Cards to simulate real action

# TODO: create a number of Cards to simulate real action

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Welcome pmanlukas

🎯 Purpose

The purpose of this guide is to give you the basic information you need to get going with GitHub. This guide is intended to be used for GitHub in a common configuration. It is not the end all and be all of the information available to help you succeed with GitHub, but is a curated list of the following GitHub resources as well as other public sources of information:

Example how to link to additional markdown files in the same repository

:octocat: The GitHub Platform

GitHub is more than "version control"; it is an all-inclusive and unified collaboration platform:


image

⏩ Get Going!

* ENTERPRISE ONLY

💻 Get Distributed

Get familiarized with why modern distributed version control is an improvement over traditional centralized version control

⚙️ Get Installed *

Get your GitHub Enterprise instance installed and on a virtualization platform of your choice

🔧 Get Configured *

Get your GitHub Enterprise instance configured with the right authentication and backup infrastructure for your environment

📁 Get Organized

Get your people and code organized to optimize discoverability and reuse

  • Organizing People for Successful Collaboration (5 min video)

  • Why organization structure matters

    • The immediate instinct may be to create an organization for every project or department at your company, leading to many divided groups that function in GitHub as siloes

    • This may seem like a good way to manage permissions and reduce noise, but it’s not always the ideal strategy

    • In fact, it is detrimental to cross-team collaboration and can result in administrative headaches down the line

    • Instead of creating many organizations and siloing users, we suggest using one or few organizations for shared ownership of repositories and making use of teams to segment users within those organizations -- e.g.: Google; Microsoft

      image

🔑 Get Access

Get access and permissions in place to satisfy your security policies

🔩 Get Setup

Get Git and GitHub setup for the first time

🌊 Get Flowing

Get your work flowing to the right people and reviewed by the right people

image

✅ Get Managing

Get your work and projects managed from start to finish

📚 Get Documented

Get information about your work and projects documented to share right next to your code

🔗 Get Integrated

Get integrated with the rest of your development pipeline

📢 Get Informed

Get informed on what's new with GitHub

⬆️ Get Upgraded *

Get your GitHub Enterprise instance upgraded to the latest release

ℹ️ Get Enabled

Get enabled on the basics of Git and GitHub

🆘 Get Help

Get dedicated help from GitHub to support your continued success

Get help from the GitHub community

🌐 Get Open Sourcing

Get collaborating with the Open Source community

create a number of Cards to simulate real action

# TODO: create a number of Cards to simulate real action

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

create a number of Cards to simulate real action

# TODO: create a number of Cards to simulate real action

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

create a number of Cards to simulate real action

# TODO: create a number of Cards to simulate real action

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

Change back to "application/json" once API is stable.

See: https://developer.github.com/v3/projects/#create-a-repository-project

# TODO: Change back to "application/json" once API is stable.

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

create a number of Cards to simulate real action

# TODO: create a number of Cards to simulate real action

# Creates a Project board with 3 columns to simulate an ongoing sprint
# TODO: create a number of Cards to simulate real action

# TODO: Change back to "application/json" once API is stable. 
# See: https://developer.github.com/v3/projects/#create-a-repository-project
ACCEPT_HEADER="application/vnd.github.inertia-preview+json"  

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo "Creating new Project."
PROJECT_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/project1.json https://api.github.com/repos/${GITHUB_REPOSITORY}/projects | jq .id`
echo "📊 Project created with id: $PROJECT_ID"

echo "Creating Columns"
TODO_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column1.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[1/3] ✅ TODO column created. id=$TODO_COL_ID"

PROG_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column2.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[2/3] ✅ In Progress column created. id=$PROG_COL_ID"

DONE_COL_ID=`curl -s -H "Authorization: Token $GITHUB_TOKEN" -H "Accept: $ACCEPT_HEADER" -H "Content-type: application/json" -X POST -d @$DIR/projects/column3.json https://api.github.com/projects/$PROJECT_ID/columns | jq .id`
echo "[3/3] ✅ Done column created. id=$DONE_COL_ID"

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.