Skip to content
Open

test #208

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
44 changes: 44 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run a one-line script
run: echo "Hello, world!"
- name: Run a multi-line script
run: |
echo "Add other actions to build,"
echo "test, and deploy your project."

ServiceNowDevOpsChange:
needs: build # waits for build job to finish
runs-on: ubuntu-latest
name: "ServiceNow DevOps Change"
steps:
- name: ServiceNow Change
uses: ServiceNow/servicenow-devops-change@v6.1.0
with:
devops-integration-user-name: ${{ secrets.SN_DEVOPS_USER }}
devops-integration-user-password: ${{ secrets.SN_DEVOPS_PASSWORD }}
tool-id: ${{ secrets.SN_ORCHESTRATION_TOOL_ID }}
instance-url: ${{ secrets.SN_INSTANCE_URL }}
context-github: ${{ toJSON(github) }}
job-name: "ServiceNow DevOps Change"
change-request: >
{"attributes":{"requested_by":{"name":"Test User"},
"assignment_group":{"name":"Change Approval Team"},
"priority":"2",
"comments":"This is a sample pipeline script to be added in your change step",
"work_notes":"Update this to work_notes",
"start_date":"2023-09-07 11:59:59",
"end_date":"2023-09-09 11:59:59"}}
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 2 additions & 0 deletions newFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test if new file gets in
asd asda asdas asd asd as