Welcome to moondev.io
You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
The following code example shows a workflow that posts a welcome comment on a pull request when it is opened.
```yaml annotate
The name of the workflow as it will appear in the “Actions” tab of the GitHub repository.
name: Post welcome comment
The on
keyword lets you define the events that trigger when the workflow is run.
on:
# Add the pull_request
event, so that the workflow runs automatically
# every time a pull request is created.
pull_request:
types: [opened]
Modifies the default permissions granted to GITHUB_TOKEN
.
permissions: pull-requests: write
Defines a job with the ID build
that is stored within the jobs
key.
jobs:
build:
name: Post welcome comment
# Configures the operating system the job runs on.
runs-on: ubuntu-latest
# The run
keyword tells the job to execute a command on the runner.
steps:
- run: gh pr comment $PR_URL –body “Welcome to the repository!”
env:
GH_TOKEN: $
PR_URL: $
```