From bb48ad36ccd9e7ae5a673c1a9e83dbaf6fdcf314 Mon Sep 17 00:00:00 2001 From: oriafo <49622249+oriafo@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:24:40 +0100 Subject: [PATCH 1/3] Create greetings.yml --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..46774343e --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Message that will be displayed on users' first issue" + pr-message: "Message that will be displayed on users' first pull request" From e9930b124962975632bd55f5c777a4dc7361d989 Mon Sep 17 00:00:00 2001 From: oriafo <49622249+oriafo@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:58:28 +0100 Subject: [PATCH 2/3] Removed the greeting workflow --- .github/workflows/greetings.yml | 16 ---------------- .vscode/settings.json | 5 +++++ 2 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/greetings.yml create mode 100644 .vscode/settings.json diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index 46774343e..000000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Greetings - -on: [pull_request_target, issues] - -jobs: - greeting: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/first-interaction@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "Message that will be displayed on users' first issue" - pr-message: "Message that will be displayed on users' first pull request" diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..b242572ef --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file From 0a64ec6cdf52fd24b003471a99325682adc71609 Mon Sep 17 00:00:00 2001 From: oriafo <49622249+oriafo@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:09:40 +0100 Subject: [PATCH 3/3] Update Readme.md --- git-crash-course/Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/git-crash-course/Readme.md b/git-crash-course/Readme.md index f96b960d6..0a1580db5 100644 --- a/git-crash-course/Readme.md +++ b/git-crash-course/Readme.md @@ -2,7 +2,7 @@ There is a hidden folder called `.git` which tells you that our project is a git repo. -If we wanted to create a git repo in a new project we' create the folder and the initalize that repo using `git init` +If we wanted to create a git repo in a new project we'll create the folder and the initalize that repo using `git init` ``` mkdir /workspaces/tmp/new-project @@ -19,9 +19,9 @@ git commit -m "add readme file" ## Cloning -We can clone three ways: HTTPS, SSH, Github CLI +We can clone in three ways: HTTPS, SSH, Github CLI -Since we are using GitHub Codespaecs we'll a create temporary directory in our workspace +Since we are using GitHub Codespaecs we'll create temporary directory in our workspace ```sh mkdir /workspace/tmp @@ -209,4 +209,4 @@ When we want to push a repo to our remote origin ``` git push -``` \ No newline at end of file +```