-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Status-er | ||
on: | ||
pull_request: | ||
types: [labeled, unlabeled, edited, synchronize] | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: Set PR Status to pending | ||
uses: teamniteo/[email protected] | ||
with: | ||
# Pull Request number (Mandatory) | ||
pr_number: 3 | ||
|
||
# State to apply (Mandatory) | ||
# Any of the (error | failure | pending | success) states | ||
state: pending | ||
|
||
# Name of the repository in {organization}/{repo_name} format (Mandatory) | ||
repository: danudey/pystrptime | ||
|
||
# Name to identify the Status (Optional) | ||
# Defaults to `default` | ||
context: default | ||
|
||
# The target URL to associate with the Status (Optional) | ||
# This URL will be linked from the Github UI to allow users to easily see the source of the status. | ||
target_url: https://example.target_url.com | ||
|
||
# A short description of the status (Optional) | ||
description: "An example description" | ||
|
||
env: | ||
# Default Github Token | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |