Skip to content

Instantly share code, notes, and snippets.

Edward Thomson ethomson

Block or report user

Report or block ethomson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View send-tweet-action.yml
name: Send a Tweet
on: [push]
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "Hello! This tweet was sent by a GitHub Actions workflow!"
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
View wiki.yml
name: Wiki Page Changed
on: gollum
jobs:
comment:
runs-on: ubuntu-latest
steps:
- run: |
echo "The page updated was: $(jq --raw-output .pages[0].html_url '${{ github.event_path }}')"
View issuecomment.yml
name: Comment
on: issue_comment
jobs:
comment:
runs-on: ubuntu-latest
steps:
- run: |
echo "The comment was: $(jq --raw-output .comment.body '${{ github.event_path }}')"
View selfhosted.yml
name: Self Hosted
on: [push]
jobs:
comment:
runs-on: self-hosted
steps:
- run: uname -a
View uploadreleaseasset.yml
name: Publish Release
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
View dependabot.yml
name: Node CI
on:
pull_request:
branches:
jobs:
build:
runs-on: ubuntu-latest
View githubscript.yml
name: Comment
on:
issues:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
steps:
View redis.yml
name: Redis Service Example
on: push
jobs:
talk-to-redis:
runs-on: ubuntu-latest
services:
redis:
View download-artifacts.yml
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
View nugetartifact.yml
name: CI
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
name: 'Checkout'
You can’t perform that action at this time.