-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from chrishrb/8-missing-support-for-github-mark…
…down-emojis 8 Add support for github markdown emojis
- Loading branch information
Showing
28 changed files
with
1,296 additions
and
20 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
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,32 @@ | ||
name: Emojiscraper | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.23 | ||
|
||
- name: Run emojiscraper | ||
run: make emojiscraper | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
commit-message: Update dependencies | ||
branch: emojiscraper-updates | ||
commit-message: Update from weekly emojiscraper run | ||
title: "Weekly Emojiscraper Update" | ||
body: "Automated update from the weekly Emojiscraper run." |
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
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
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
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,26 @@ | ||
//go:build debug | ||
// +build debug | ||
|
||
package cmd | ||
|
||
import ( | ||
"errors" | ||
|
||
"github.com/chrishrb/go-grip/internal" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
var emojiscraperCmd = &cobra.Command{ | ||
Use: "emojiscraper [emoji-out] [emoji-map-out]", | ||
Short: "Scrape emojis from gist", | ||
Run: func(cmd *cobra.Command, args []string) { | ||
if len(args) != 2 { | ||
cobra.CheckErr(errors.New("provide exact 2 arguments")) | ||
} | ||
internal.ScrapeEmojis(args[0], args[1]) | ||
}, | ||
} | ||
|
||
func init() { | ||
rootCmd.AddCommand(emojiscraperCmd) | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,18 +1,36 @@ | ||
module github.com/chrishrb/go-grip | ||
|
||
go 1.22.7 | ||
go 1.23 | ||
|
||
toolchain go1.23.3 | ||
|
||
require ( | ||
github.com/PuerkitoBio/goquery v1.10.0 // indirect | ||
github.com/aarol/reload v1.1.3 // indirect | ||
github.com/alecthomas/chroma/v2 v2.14.0 // indirect | ||
github.com/andybalholm/cascadia v1.3.2 // indirect | ||
github.com/antchfx/htmlquery v1.3.3 // indirect | ||
github.com/antchfx/xmlquery v1.4.2 // indirect | ||
github.com/antchfx/xpath v1.3.3 // indirect | ||
github.com/bep/debounce v1.2.1 // indirect | ||
github.com/dlclark/regexp2 v1.11.4 // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/gobwas/glob v0.2.3 // indirect | ||
github.com/gocolly/colly v1.2.0 // indirect | ||
github.com/gocolly/colly/v2 v2.1.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/gomarkdown/markdown v0.0.0-20240930133441-72d49d9543d8 // indirect | ||
github.com/gorilla/websocket v1.5.1 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/kennygrant/sanitize v1.2.4 // indirect | ||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect | ||
github.com/spf13/cobra v1.8.1 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
golang.org/x/net v0.19.0 // indirect | ||
golang.org/x/sys v0.16.0 // indirect | ||
github.com/temoto/robotstxt v1.1.2 // indirect | ||
golang.org/x/net v0.32.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
google.golang.org/appengine v1.6.8 // indirect | ||
google.golang.org/protobuf v1.36.0 // indirect | ||
) |
Oops, something went wrong.