Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ For example, you can run a workflow when the `checks_requested` activity has occ
on:
merge_group:
types: [checks_requested]

```

{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ This utility lists repositories on your appliance that use {% data variables.pro

```shell
ghe-legacy-github-services-report

```

### ghe-logs-tail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ CLI:
script: 'echo "$TOKEN" | codeql github upload-results --repository=my-org/example-repo \
--ref=refs/heads/main --commit=deb275d2d5fe9a522a0b7bd8b6b6a1c939552718 \
--sarif=/temp/example-repo-csharp.sarif --github-auth-stdin'

```

### Multiple languages using autobuild (C++, Python)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ updates:
- ruby-github # only access to registries associated with this ecosystem/directory
schedule:
interval: "monthly"

```

{% endraw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Scala | [Sbt Dependency Submission](https://github.com/marketplace/actions/sbt-d
For example, the following [Go Dependency Submission](https://github.com/actions/go-dependency-submission) workflow calculates the dependencies for a Go build-target (a Go file with a `main` function) and submits the list to the Dependency submission API.

```yaml

name: Go Dependency Submission
on:
push:
Expand Down Expand Up @@ -77,7 +76,6 @@ jobs:
# used by all build targets for the module. This may
# include Go dependencies used by tests and tooling.
go-build-target: go-example/cmd/octocat.go

```

### Creating your own action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ The default development container, or "dev container," for {% data variables.pro
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

```

{% data reusables.codespaces.devcontainer-properties-1 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ jobs:
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value={% raw %}${{ env.TODO_OPTION_ID }}{% endraw %} -f date_field=$DATE_FIELD_ID -f date_value=$DATE --silent

```

## Example workflow authenticating with a {% data variables.product.pat_generic %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ query(
id
}
}

```

{% data reusables.enterprise_migrations.retreive-enterprise-id-graphql %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
uses: actions/hello-world-javascript-action@main
with:
who-to-greet: ${{ vars.GREET_NAME }}

```

{% endraw %}
1 change: 0 additions & 1 deletion data/reusables/actions/jobs/matrix-add-with-include.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ jobs:
datacenter: "site-a"
- site: "staging"
datacenter: "site-b"

```
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ body:
value: |
### The thrilling conclusion
_to our template_

```
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5,17 * * *'

```

A single workflow can be triggered by multiple `schedule` events. You can access the schedule event that triggered the workflow through the `github.event.schedule` context. This example triggers the workflow to run at 5:30 UTC every Monday-Thursday, but skips the `Not on Monday or Wednesday` step on Monday and Wednesday.
Expand Down